Session

C# Source Code Generators in Practice

Code generation is a powerful tool that can save time and ease the development process. With C# 9 there is finally an officially supported mechanism for generating source code into your .NET projects as part of the compiler pipeline. Write code that writes code!
You can use C# source code generators by adding the generator NuGet package to your code, or even better, build and share your package.
We will see how source-code generators work, the pros and cons, and how we can leverage them as consumers or producers.
To understand the possibilities, I will present an open-source project that utilizes source code generation: The Azure IoT Source generator lets you develop a full-featured IoT hub client in seconds!

Alon Fliess

Microsoft Regional Director, Azure MVP, ZioNet CTO

Tel Aviv, Israel

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