AI in .NET: The Complete Landscape for Developers
Map the 2026 AI in .NET ecosystem: Microsoft.Extensions.AI, Agent Framework, Semantic Kernel, vector data, MCP, ML.NET, ONNX and Foundry, and when to use each.
Build intelligent .NET apps: Microsoft.Extensions.AI, Microsoft Agent Framework, Semantic Kernel, RAG, vector search, MCP, ML.NET, ONNX Runtime and Azure AI Foundry.
20 guides
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.
Map the 2026 AI in .NET ecosystem: Microsoft.Extensions.AI, Agent Framework, Semantic Kernel, vector data, MCP, ML.NET, ONNX and Foundry, and when to use each.
Master Microsoft.Extensions.AI: IChatClient, IEmbeddingGenerator, streaming, tool calling, middleware pipelines, DI registration, custom clients and testing.
Build AI agents in C# with Microsoft Agent Framework 1.x: ChatClientAgent, sessions, tools, MCP, workflows, human approval, hosting and migration.
Semantic Kernel in practice for C#: kernel, plugins, prompt templates, automatic function calling, filters, vector search, agents, and its 2026 role.
Use Azure OpenAI in Microsoft Foundry (formerly Azure AI Foundry) from .NET: deployments, keyless auth, guardrails, quotas, PTUs, Agent Service and cost.
A practical guide to the OpenAI .NET SDK: ChatClient, streaming, tool calls, structured outputs, the Responses API, embeddings, images, audio and retries.
Build production RAG in C#, covering ingestion, chunking, embeddings, hybrid retrieval, reranking, grounded prompts, citations and evaluation in .NET.
Learn how embeddings and vector databases work in .NET: similarity metrics, HNSW indexes, Microsoft.Extensions.VectorData and pgvector, SQL Server and Qdrant.
Master function calling in C# with Microsoft.Extensions.AI: AIFunctionFactory, FunctionInvokingChatClient, parallel calls, approvals, security and tests.
Build Model Context Protocol servers and clients in C# with the official SDK 2.x: tools, resources, Streamable HTTP, OAuth, security and VS Code setup.
Learn ML.NET in C#: MLContext, IDataView, pipelines, trainers, AutoML, metrics, PredictionEnginePool, ONNX, and when to pick ML.NET over LLMs.
Run LLMs locally in .NET with ONNX Runtime GenAI, Ollama and Foundry Local: small language models, GPUs and NPUs, quantization and IChatClient.
Build multimodal .NET apps that understand images, documents, speech and audio, and generate images and voice, with Microsoft.Extensions.AI and Azure AI.
A practical guide to prompt engineering for .NET developers, covering prompt anatomy, few-shot examples, reasoning models, templates and injection risks.
Get reliable JSON from LLMs in C#: JSON mode vs structured outputs, typed Microsoft.Extensions.AI responses, JSON Schema from types, validation and retries.
Evaluate LLM apps in .NET with Microsoft.Extensions.AI.Evaluation: quality and safety evaluators, golden datasets, LLM-as-judge, caching, reports and CI gates.
Design AI agents in .NET: single vs multi-agent, sequential, concurrent, handoff, group chat and Magentic orchestration, memory, approvals, durability and A2A.
Secure LLM apps in .NET: OWASP Top 10 for LLMs 2026, prompt injection defenses, Prompt Shields, PII redaction, output checks, least privilege and the EU AI Act.
Learn observability and cost control for .NET LLM apps, covering OpenTelemetry GenAI conventions, token tracking, caching, model routing and 429 retries.
How .NET teams use GitHub Copilot, coding agents, custom instructions and MCP servers, plus review, security and modernization guidance for 2026.
No matches. Try the site search.