Jason Bock

Camp Counselor

Using Source Generators for Fun (and Maybe Profit)

Event Logo

Wednesday, July 28, 2021 - 6:00 PM UTC, for 1 hour.

Regular, 60 minute presentation

Room: A & H


One of the features added in C# 9 is called "source generators", enabling a developer to create new code at compile time. This can be used for a myriad of cases, such as optimization, automating repetitive code, and dynamic API creation. In this session, I'll cover how source generators work and demonstrate a number of implementations.

Take Aways

  • Learn how source generators work
  • Gain an understanding of how source generators can improve your developer experience
  • See where source generators "fit" well to improve performance and reduce boilerplate code
favorited by:
Rob Linxweiler Daniel Laughland Timothy Tyson Ken Samson Mark Anderson Jessica Knaak Vanessa Radlinger Dennis Moon Matthew Ives Mike Harris Jacob Galloway Matt Willmer Colton Goza Chris Gardner Adam Tegen Phil Busch Dustin Ewers Ross Larson Allen Zaudtke Phil Busch Josh Gretz Joe Forsythe