Cover of the AI Engineering for .NET bundle by Rachid Dahir
Bundle — save 15%

AI Engineering for .NET: Agents + RAG

Two books, one stack.

1,268 pages 44 chapters 174 runnable projects
Both books apart $64.98
Bundle price $54.99

Suggested price $72.99. Leanpub lets you pay more if you want to.

Get the bundle on Leanpub Both books, one purchase.

Prefer one at a time? Take Agents or RAG on its own — but the bundle is cheaper than buying both later.

Why both

Building AI Agents with C# and .NET 10 teaches you to build and orchestrate agents on the Microsoft Agent Framework — tools, workflows, multi-agent systems, and the runtime concerns that decide whether an agent survives contact with production.

Production-Grade RAG with C# and .NET teaches you to ground them in your own data — embeddings, chunking, hybrid retrieval, reranking, GraphRAG, evaluation gates, prompt-injection defence, and an EU AI Act-aware Azure deployment.

They are two halves of the same problem. An agent without retrieval is fluent and confident about nothing in particular.

What’s included

Cover of Building AI Agents with C# and .NET 10

Building AI Agents with C# and .NET 10

A Developer’s First Guide to the Microsoft Agent Framework

600 pp19 ch120 projects

From your first ChatClientAgent to a hosted, observable, guarded multi-agent system: tools and function calling, MCP servers, typed workflow graphs, .NET Aspire, OpenTelemetry, and OWASP LLM Top 10 guardrails.

Full details
Cover of Production-Grade RAG with C# and .NET

Production-Grade RAG with C# and .NET

Building Retrieval-Augmented Generation Systems

668 pp25 ch458 tests

From an 80-line Hello World to a Bicep-deployed Azure pipeline: embeddings, contextual chunking, vector and graph stores, hybrid retrieval with RRF, reranking, GraphRAG, eval gates, and audit logging.

Full details

Covered across both books

.NET 10 LTS C# 14 Microsoft Agent Framework 1.16 Microsoft.Extensions.AI Model Context Protocol Azure AI Search Qdrant Neo4j GraphRAG .NET Aspire OpenTelemetry Bicep

Two books, one stack

$54.99 for both on Leanpub, against $64.98 bought separately.

Get the bundle on Leanpub — $54.99

New to the series? Keeping Up with C# is free.