C# Source Generators

14:45
 
Share
 

Manage episode 288114993 series 2346669
By On .NET - Channel 9. Discovered by Player FM and our community — copyright is owned by the publisher, not Player FM, and audio is streamed directly from their servers. Hit the Subscribe button to track updates in Player FM, or paste the feed URL into other podcast apps.

The source generators feature was adding in .NET 5. They allow you to do interesting things like generate additional source files that will get added to a compilation.

In this video, Kathleen chats with Jared Parsons to find out what source generators are capable of.

  • [01:15] - What are Source Generators?
  • [05:24] - Demo: Real-time code generator for classes
  • [10:54] - Demo: Generating INotifyPropertyChanged
  • [13:16] - How to learn about building generators?

Useful Links

210 episodes