Agent Framework RAG for Agents: Giving Your Agent the Right Context

How to connect Microsoft Agent Framework agents to private application knowledge without stuffing full documents into the prompt.

June 10, 2026 · 10 min · 2028 words

Build and deploy an MCP server with .NET and Azure Container Apps

How to build a Streamable HTTP MCP server with the official .NET SDK, containerize it, deploy it to Azure Container Apps, and call it from a C# client.

June 7, 2026 · 10 min · 2007 words

Microsoft Agent Framework Workflows: When to Use Them and When to Stay in C#

When to use Microsoft Agent Framework workflows for explicit, observable, resumable, long-running orchestration, and why normal C# code is often the better choice.

June 3, 2026 · 14 min · 2784 words

Agents as Tools in Microsoft Agent Framework

How to delegate work between Microsoft Agent Framework agents by exposing focused agents as function tools, and when this is better than manual routing or a workflow engine.

May 27, 2026 · 10 min · 2085 words

Why CancellationToken Matters More in .NET AI Systems

Why CancellationToken matters more in .NET AI systems, and how to pass it through LLM calls, streaming responses, embeddings, retrieval, and tool execution.

May 24, 2026 · 12 min · 2407 words

Manual Multi-Agent Routing in .NET

How to route requests between specialized Microsoft Agent Framework agents with a cheap intent agent, structured output, and a normal C# switch statement.

May 20, 2026 · 10 min · 2035 words

Extending .NET Agents with MCP and Agent Skills

How to extend Microsoft Agent Framework agents with MCP tools and Agent Skills, when to use each model, and what trust boundaries to keep around external servers, local files, and scripts.

May 12, 2026 · 11 min · 2137 words

Structured Output in .NET Agents

Use structured output in Microsoft Agent Framework to turn LLM responses into typed C# objects that can be validated, tested, and used safely in application code.

May 10, 2026 · 9 min · 1750 words

Tools and Dependency Injection in Microsoft Agent Framework

How to expose small C# methods as Microsoft Agent Framework tools, pass application services through dependency injection, and protect side-effecting actions.

May 6, 2026 · 7 min · 1280 words

RAG with EF Core and pgvector

How to build RAG retrieval in .NET by storing embeddings in PostgreSQL with pgvector and querying them through EF Core.

May 2, 2026 · 5 min · 1060 words