Episode 041 – Source Generators with Andrew Lock

The Breakpoint Show
The Breakpoint Show
Episode 041 - Source Generators with Andrew Lock
Loading
/

Welcome to the forty-first episode of The Breakpoint Show! In this episode, we’re diving into one of the most powerful and often underutilized features in modern C#—source generators. And we’ve brought in a special guest to help guide us through it: Andrew Lock, author, speaker, and all-around .NET expert.

Source generators are a feature of the C# compiler that let developers inspect user code during compilation and generate additional source files that are seamlessly added to the build. It’s like metaprogramming with superpowers—and it’s changing how developers think about code generation, performance, and boilerplate reduction in .NET projects.

With Andrew’s guidance, we explore how source generators work, when you should use them, and the benefits they bring to libraries, frameworks, and everyday applications. We also dig into practical examples, tooling support, performance considerations, and what the future of this feature could look like in upcoming C# releases.

If you’ve been curious about source generators or you’re looking for smart ways to reduce code duplication, improve compile-time performance, or just do some really cool things with the compiler, this episode is a must-listen.

Tune in to The Breakpoint Show and discover what every .NET developer should know about source generators—straight from one of the best in the biz!

Andrew’s Blog — https://andrewlock.net/

His newest book “ASP.NET Core in Action, Third Edition” — https://www.manning.com/books/asp-net-core-in-action-third-edition

Tags
Social Share

Leave a comment

Your email address will not be published. Required fields are marked *

WP Radio
WP Radio
OFFLINE LIVE