AI is now a standard part of .NET development. These guides cover the full stack of AI engineering in C#. You will learn the unified Microsoft.Extensions.AI abstractions and how to build agents with the Microsoft Agent Framework and Semantic Kernel. You will ground models in your own data with RAG and vector search, expose tools through the Model Context Protocol, and run models locally with ONNX Runtime and small language models.

You will also find production topics that separate prototypes from real products: structured outputs, evaluation, observability, cost control, responsible AI and defenses against prompt injection.

Beginner

Prompt Engineering for .NET Developers

A practical guide to prompt engineering for .NET developers, covering prompt anatomy, few-shot examples, reasoning models, templates and injection risks.

15 min read