C# Source Generators Articles, Tutorials & News

C# Source Generators articles, tutorials, and news from the DotNetNews archive.

88 articles Updated

Start here

Editor picks for Source Generators

  1. C# Source Generators: Improving Performance and Reducing Boilerplate Code

    c-sharpcorner.com Issue #472

    Source generators eliminate boilerplate at compile time; slower builds, faster runtime.

    Read article Issue #472

  2. .NET Source Generators with Jason Bock

    dotnetrocks.com Issue #391

    Source generators remain one of the best ways to trade boilerplate for compile-time help.

    Read article Issue #391

  3. Exploring the (underwhelming) System.Diagnostics.Metrics source generators: System.Diagnostics.Metrics APIs - Part 2

    andrewlock.net Issue #388

    I appreciated the source-generator deep dive because it questions whether the abstraction actually earns its keep.

    Read article Issue #388

  4. Stop Writing Boilerplate: How C# Source Generators Are Saving MVVM

    medium.com Issue #371

    Source generators keep paying dividends, and this MVVM-focused post shows how much boilerplate they can erase.

    Read article Issue #371

  5. How I Used C# Source Generators to Eliminate Boilerplate and Speed Up Development

    blog.stackademic.com Issue #341

    Source generators can erase repetitive code, and this write-up shows where compile-time automation actually pays off.

    Read article Issue #341

  6. Why We Left AutoMapper for .NET Source Generators

    levelup.gitconnected.com Issue #316

    The Dapper article is packed with copy-pasteable performance ideas for teams still writing a lot of SQL.

    Read article Issue #316

  7. On .NET Live - On .NET Live - Source Generators in Jinget

    youtube.com Issue #215

    Source generators on .NET Live should be worth watching if you care about compile-time tooling.

    Read article Issue #215

  8. C# in the Age of AI: Build Smart, Self-Writing Code with Source Generators

    medium.com Issue #212

    The Redis upgrade piece is a useful ASP.NET caching walkthrough.

    Read article Issue #212

C# source generators from the DotNetNews archive, curated for .NET developers who already ship production code. This is a reading list pulled from daily issues, not a substitute for the official docs on C# Source Generators.

Use Start here for the editorial shortlist, then browse Latest or the full archive when you need more depth. Coverage leans toward incremental source generators, Roslyn source generators, codegen C#. Recent pieces worth opening: “Your Architecture Has a Token Bill So I Made the Compiler Collect It” and “C# Barcode Library: Comparing 11 Options for .NET Developers in 2026”.

Latest

Newest Source Generators from the archive

Archive

Page 1 of 4

Newest first