tubeshowcase●1,326,569 videos♡ My collection 0
← Learn to Code

Learn to Code14:46

C# Source Generators

dotnet ↗

From the creator

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? Introducing Source Generators https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/?WT.mc_id=dotnet-00000-cephilli Source Generators Cookbook https://github.com/dotnet/roslyn/blob/main/docs/features/source-generators.cookbook.md New C# Source Generator samples https://devblogs.microsoft.com/dotnet/new-c-source-generator-samples/?WT.mc_id=dotnet-00000-cephilli Source Generator Samples https://github.com/dotnet/roslyn-sdk/tree/main/samples/CSharp/SourceGenerators What’s new in .NET 5 https://docs.microsoft.com/dotnet/core/dotnet-five?WT.mc_id=dotnet-00000-cephilli Get your questions answered on the Microsoft Q&A for .NET - http://aka.ms/dotnet-qa​ Learn .NET with free self-guided learning from Microsoft Learn: http://aka.ms/learndotnet #DotNet #Csharp

Published 2021-03-23 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code