Exploring Source Generators

Meta-programming is now easily available to all of us in C#! Roslyn’s “Source Generator” feature is a handy tool for making day-to-day work quicker and automating tedious coding tasks or build processes with direct compiler integration.
While this compiler feature was introduced in C# 9 already, new features in .NET 6 now make use of it to help you with tasks like JSON serialization and logging.
In this session, we will look into what source generates can or could be used for, explore the new source generator based .NET 6 features and implement a custom source generator.

Martin Ullrich

Senior Consultant at Tietoevry Austria

Vienna, Austria

View Speaker Profile