user@runtime:~/blog$ grep -l "source-generators" posts/*.md

source-generators

16 posts tagged with source-generators.

2026-04-17 10m

TickerQ: The Source-Generated Job Scheduler That Skips the Reflection Tax

TickerQ replaces the reflection-heavy plumbing of Hangfire and Quartz.NET with compile-time source generators, EF Core persistence, and a built-in real-time dashboard. Here is how to set it up, define jobs, and avoid the gotchas.

2026-04-11 11m

TUnit: The Source-Generated Testing Framework That Skips Reflection Entirely

TUnit replaces runtime reflection with compile-time source generation for test discovery, delivering faster execution, Native AOT support, and compile-time safety that xUnit, NUnit, and MSTest cannot match.

2026-04-08 9m

Mapperly: The Source-Generated Mapper That Makes AutoMapper Feel Like Legacy Code

Mapperly generates object mapping code at compile time using Roslyn source generators, delivering hand-written performance with zero reflection. Here is how to use it and why teams are switching.

2026-03-14 4m

The Configuration Binding Source Generator in .NET 8

How .NET 8's configuration binding source generator eliminates reflection from your configuration pipeline and improves AOT compatibility.

2026-03-14 5m

The LoggerMessage Source Generator: High-Performance Logging

How the LoggerMessage source generator eliminates boxing, string allocation, and reflection in .NET logging for maximum throughput.

2026-03-12 4m

The JSON Source Generator in System.Text.Json

How the System.Text.Json source generator eliminates reflection-based serialisation, improving startup time and enabling AOT compilation.

2026-03-11 4m

JSON Source Generation for AOT-Ready .NET Applications

How to use System.Text.Json source generators to eliminate reflection and make your serialization AOT-compatible.

2026-03-10 4m

The Regex Source Generator Explained

How .NET 7's GeneratedRegex attribute uses source generation to compile regular expressions at build time for better performance.

2026-03-09 4m

Attribute-Driven Source Generation Patterns

Explore patterns for using marker attributes to drive source generation, including attribute discovery, property extraction, and handling edge cases.

2026-03-08 4m

Testing Source Generators with Microsoft.CodeAnalysis.Testing

A practical guide to testing source generators and analysers using the official Microsoft.CodeAnalysis.Testing framework.

2026-03-07 4m

Emitting Diagnostics from Analysers and Source Generators

Learn how to report errors, warnings, and informational messages from analysers and generators using the Roslyn diagnostics API.

2026-03-06 4m

Debugging Source Generators: Techniques That Actually Work

Practical strategies for debugging source generators, from Debugger.Launch() to emitting generated files to disk.

2026-03-05 4m

The IIncrementalGenerator Pipeline: Transforms, Filters and Caching

A deep dive into the incremental generator pipeline operators — Where, Select, Collect, and Combine — and how they enable efficient caching.

2026-03-04 3m

Incremental Source Generators: A Practical Guide

A hands-on introduction to incremental source generators, the modern replacement for ISourceGenerator that offers dramatically better IDE performance.

2026-02-04 4m

MVVM Made Simple with CommunityToolkit.Mvvm in .NET MAUI

How to use CommunityToolkit.Mvvm source generators to eliminate MVVM boilerplate in your .NET MAUI applications.

2025-08-01 4m

Partial Properties: Completing the Partial Story

C# 13 extends partial members to include properties and indexers, enabling cleaner source generator patterns.