Dependency Injection for AI Components

Register .NET AI clients, tools, prompts, and retrieval services with explicit lifetimes, safe request state, and clear disposal ownership.

September 9, 2026 · 10 min · Lukas Walter

Provider Independence from Day One

A C# implementation for keeping provider coupling at explicit boundaries while making model capabilities and provider-specific behavior visible.

August 25, 2026 · 12 min · Lukas Walter

Designing an AI Service Layer

How to place model access, prompts, retrieval, tools, and application policy behind a maintainable use-case boundary in a .NET application.

August 12, 2026 · 11 min · Lukas Walter

Stop Letting Provider SDKs Define Your .NET AI Architecture

How Microsoft.Extensions.AI keeps provider SDKs at the edge of .NET applications through shared abstractions, dependency injection, and middleware.

July 29, 2026 · 9 min · Lukas Walter

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 · Lukas Walter