How bingbing-gui/dotnet-agent-playbook works
dotnet-agent-playbook is a collection of .NET learning materials and runnable examples, with AI agents as its active focus and older ASP.NET Core material archived. There is no single application workflow: in the sampled agent examples, an HTTP request reaches a controller, which invokes a Semantic Kernel or MCP-backed tool flow and streams a response; the Agent Framework samples demonstrate separate agent patterns. README documents these as topic-aligned examples, but most individual sample internals were not inspected, so links between unsampled components are omitted.
Main entry points: BookController.cs Book Controller · Chat2BugController.cs Chat2Bug Controller · HomeController.cs GitHub HTTP Demo · Program.cs Timer Setup
Components 25
Agent Framework
- Agent Patterns
src/ai-agent/Agent-Framework - Agent Middleware
src/ai-agent/Agent-Framework/14-Agent-Middleware/Program.cs - Writer Critic
src/ai-agent/Agent-Framework/39-WriterCritic-Pattern/39-WriterCritic-Pattern/Program.cs - Agent Flows
src/ai-agent/Agent-Framework
Semantic Kernel
- Book Controller
src/ai-agent/Semantic-Kernel/SK.FunctionCalling/Controllers/BookController.cs - Order Book Plugin
src/ai-agent/Semantic-Kernel/SK.FunctionCalling/Plugins/OrderBookPlugin.cs - Book Model
src/ai-agent/Semantic-Kernel/SK.FunctionCalling/Models/Book.cs - Chat2Bug Controller
src/ai-agent/Semantic-Kernel/SK.MCP.Plugins/Controllers/Chat2BugController.cs - MCP Tool Service
src/ai-agent/Semantic-Kernel/SK.MCP.Plugins/Services - Prompt Examples
src/ai-agent/Semantic-Kernel/SK.RunPrompts - Embedding Examples
src/ai-agent/Semantic-Kernel/SK.TextEmbeddingGeneration - Vector Store Examples
src/ai-agent/Semantic-Kernel/SK.VectorStores
Model Providers
- Foundry Chat
src/ai-agent/Azure-AI-Foundry-SDK/ChatApp/Controllers/ChatController.cs
Archived .NET
- Foundation Topics
src/_archive/foundation - GitHub HTTP Demo
src/_archive/foundation/01-Basics/HttpClient/HttpClient-01/Controllers/HomeController.cs - GitHub Service
src/_archive/foundation/01-Basics/HttpClient/HttpClient-01/Service/GitHubService.cs - GitHub Data Models
src/_archive/foundation/01-Basics/HttpClient/HttpClient-01/Models/GitHubBranch.cs - Identity Admin
src/_archive/foundation/01-Basics/Identity/Controllers/AdminController.cs - Identity User
src/_archive/foundation/01-Basics/Identity/Models/AppUser.cs
ASP.NET Samples
- Timer API
src/aspnet-core-samples/QuartzTimerMonitor/Controllers/TimersController.cs - Scheduled Timer Job
src/aspnet-core-samples/QuartzTimerMonitor/Jobs/NamedTimerJob.cs - Timer Hub
src/aspnet-core-samples/QuartzTimerMonitor/TimerHub.cs - Timer Status
src/aspnet-core-samples/QuartzTimerMonitor/Models/TimerStatusDto.cs - Timer Setup
src/aspnet-core-samples/QuartzTimerMonitor/Program.cs
Other components
- Learner
Connections 13
- Learner → Agent Patterns: studies examples
README.md - Learner → Book Controller: runs examples
README.md - Book Controller → Order Book Plugin: loads menu
src/ai-agent/Semantic-Kernel/SK.FunctionCalling/Controllers/BookController.cs - Book Controller → Book Model: passes books
src/ai-agent/Semantic-Kernel/SK.FunctionCalling/Controllers/BookController.cs - Chat2Bug Controller → MCP Tool Service: lists tools
src/ai-agent/Semantic-Kernel/SK.MCP.Plugins/Controllers/Chat2BugController.cs - Chat2Bug Controller → MCP Tool Service: streams tool reply
src/ai-agent/Semantic-Kernel/SK.MCP.Plugins/Controllers/Chat2BugController.cs - GitHub HTTP Demo → GitHub Service: requests issues
src/_archive/foundation/01-Basics/HttpClient/HttpClient-01/Controllers/HomeController.cs - GitHub HTTP Demo → GitHub Data Models: deserializes branches
src/_archive/foundation/01-Basics/HttpClient/HttpClient-01/Controllers/HomeController.cs - Identity Admin → Identity User: creates users
src/_archive/foundation/01-Basics/Identity/Controllers/AdminController.cs - Timer Setup → Scheduled Timer Job: registers job
src/aspnet-core-samples/QuartzTimerMonitor/Program.cs - Timer Setup → Timer Hub: maps hub
src/aspnet-core-samples/QuartzTimerMonitor/Program.cs - Timer API → Timer Status: returns status
src/aspnet-core-samples/QuartzTimerMonitor/Controllers/TimersController.cs - Scheduled Timer Job → Timer Hub: publishes updates
src/aspnet-core-samples/QuartzTimerMonitor/Jobs/NamedTimerJob.cs