C# Source Generators
MP4•Episode home
Manage episode 288131329 series 2683226
By On .NET (HD) - 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
- Introducing Source Generators
- Source Generators Cookbook
- New C# Source Generator samples
- Source Generator Samples
- What’s new in .NET 5

79 episodes