Session

Roslyn Source Generators - Never send a human to do a machine's job

Roslyn Source Generators are the latest metaprogramming technique to add C# code to your compilations. Since their inception in .NET 5, these compiler extensions have become more and more prevalent in our projects and have proven to be integral to a productive development workflow. Not only do they automate maintaining repetitive boilerplate code and help to avoid Reflection for faster and trim-friendlier apps, but they also replace dynamic code to enable Native AOT scenarios.

Every recent release of the C# language has added features to continuously improve their capabilities, such as partial types and members, module initializers, file-scoped types, and Interceptors. Driven by modern C#, the BCL as well as libraries from the NuGet ecosystem ship powerful Generators, like compile-time regular expressions, high-performance logging, and ASP.NET Core Request Delegate Interception.

After exploring common usage scenarios and the mechanics of the Compiler's programming model, in this session, we will write, test, debug, and publish our very own Incremental Source Generators. Live.

In other words, would you like to know more about Roslyn Source Generators?

Technical requirements: Internet access
Target audience: proficient .NET/C# developers
Preferred session duration: 45 - 60 minutes, including Q&A

Stefan Pölz

Clean C# Coder – Test-driven .NET Developer

Vienna, Austria

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top