Guides · Reviewed October 2026

AI agents and MCP in .NET

The .NET AI stack has moved quickly. This page puts the most useful articles we have featured into an order that makes sense to read them in: the building blocks first, then MCP servers, then agents, then putting agents in front of users and shipping them responsibly. Every link goes to the original article.

Start with the building blocks

The abstractions and learning material the rest of the stack builds on.

Build an MCP server

From a first server in C# to the official SDK releases and hosting on Azure Functions.

Build agents with Microsoft Agent Framework

The framework itself, durable workflows, agent skills, and a complete example that combines Agent Framework, Foundry, MCP and Aspire.

Put agents in front of users

Streaming agent output into user interfaces, from the AG-UI protocol to experimental Blazor components.

Test, evaluate and govern

Checking what agents and models actually do before you ship them.

Use AI on your own codebase

Getting better results from coding agents in .NET projects.

Section introductions are dotnetdevs.io commentary. Each article belongs to its author; see the full link library for everything we have featured.