Learn how the latest metaprogramming technique

can help add C# code to your project

 .NET Source Generators can help us automate tedious boilerplate implementations of common patterns, and enable replacing Reflection-based logic with high-performance strongly typed solutions.

 

Introduced in .NET 5, their capabilities were expanded in .NET  6 to target well-established scenarios such as logging and JSON  (de)serialization. Additionally, C# 9.0 adds module initializers and  extends partial methods to further support code generation.

This webinar will give an overview of these language features plus show you the basic mechanics of adding new sources and reporting diagnostics via  (Incremental) Source Generators.

   

Advanced topics will also be covered, including:

Unit testing (the Generator and the code it generates)

Code Coverage

Mutation testing

Benchmarking

Using nullable reference types within .NET Standard 2.0 Generator-Projects

 As an added bonus for signing up you'll get a suite of (web) tools  to kick-start your journey. 

  

Stefan Pölz

Clean C# Coder - Test-driven .NET Developer

 Stefan's passion is to practice Clean Code and test-driven development in  order to build maintainable software in an ever-evolving team, supported  by tools from the .NET Ecosystem. He enjoys attending and speaking at public developer events and authoring open source projects, complementing his expertise in professional software development.  

PostSharp is a registered trade name of SharpCrafters s.r.o.  © 2004-2022.

Built with