Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C# Source Generators - Write Code That Writes Code

NDC Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the world of C# Source Generators in this comprehensive 59-minute conference talk by David Wengier at NDC Conferences. Dive into the new formal source generation offering from Microsoft, introduced with C# 9 and .NET 5. Learn how this technology leverages the unique opportunity provided by the Roslyn team, allowing generators to run within the compiler pipeline and access internal compiler data structures. Discover the advantages of source generators over existing code generation tools like PostSharp, Fody, and CodeSmith. Gain insights into the general concepts of source generators, followed by an in-depth exploration of the C# 9 implementation. Examine practical examples, discuss potential applications, and leave with a wealth of ideas for creating your own generators. Understand how source generators can revolutionize your approach to traditionally slow reflection code, opening up new possibilities for efficient and powerful code generation.

Syllabus

C# Source Generators - Write code that writes code - David Wengier

Taught by

NDC Conferences

Reviews

Start your review of C# Source Generators - Write Code That Writes Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.