My new book ASP.NET Core in Action, Second Edition is available now! It supports .NET 5.0, and is available as an eBook or paperback. You even get a free copy of the first edition of ASP.NET Core in Action!
In this post I show how to emit your source generator output to disk, so you can include it in source control and code reviews.…
In this post I show a couple of handy patterns for source generators: finding a type declaration's namespace and its class hierarchy…
In this post I describe how to customise a source generator by reading properties from a marker attribute…
In this post I describe how to integration-test your source generator, how to pack it in a NuGet package, and how to test your NuGet package!…
In this post I describe how to unit test an incremental generator using Verify for snapshot testing…
In this post I walk through how to create a practical .NET 6 incremental source generator: an enum extensions class with a fast ToString() implementation…
Stay up to the date with the latest posts!