The .NET Pipeline That Makes Source Generators Feel Instant

Deep dive into .NET source generators, and understand how to design efficient pipelines that minimize recompilation and boost codegen performance.

Deep dive into .NET source generators, and understand how to design efficient pipelines that minimize recompilation and boost codegen performance.

In this post, I'll show you what Roslyn source generators are, why they're a massive improvement over old techniques, and how to build a simple, high-performance generator from scratch.

.NET 10 GC tuning shows how stack allocations, DATAS, and region sizing cut allocations, improve latency, and reduce your cloud cost.

Build conditional, parallel, dynamic, and stateful prompt pipelines in .NET with safety guardrails, faster latency, and testable design.

Build robust AI multi-tool workflows in .NET. Chain tools, add telemetry, cache results, and orchestrate multi‑step tasks with DI.

Resilient .NET AI pipeline: unify chat, embeddings, tools, streaming, caching & telemetry with Microsoft.Extensions.AI. Swap models without rewrites.

Model-agnostic guide to integrating LLMs in .NET — patterns, DI, provider abstraction, and security best practices. Start locally; avoid vendor lock-in.

In this post, I’ll unpack what changed for the Blazor script in .NET 10, why it matters for performance and deploys, and exactly where you should reference it across Blazor Web App, Blazor Server, and standalone Blazor WebAssembly. We’ll also…

C# 14 ships with .NET 10 and brings a set of focused, developer‑friendly improvements: extension members, null‑conditional assignment, field‑backed properties, first‑class Span<T> conversions, and more. In this post, I’ll explain what each change does, why it matters, and show you concise examples you…

If you’ve ever wished your C# code could precisely model “one of these types, but never anything else,” discriminated unions are about to make your day. They bring first-class, exhaustive, and ergonomic sum types to the language, unlocking safer domain…