site image
Andrew Lock avatar

Andrew Lock

Source Generators
  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  3. ASP.NET Core in Action, Third Edition

    My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

  4. Banner image for Integration testing and NuGet packaging

    Integration testing and NuGet packaging

    Creating a source generator - Part 3

    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!…

  5. Banner image for Testing an incremental generator with snapshot testing

    Testing an incremental generator with snapshot testing

    Creating a source generator - Part 2

    In this post I describe how to unit test an incremental generator using Verify for snapshot testing…

  6. Banner image for Creating an incremental generator

    Creating an incremental generator

    Creating a source generator - Part 1

    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…

  7. Banner image for Creating a source generator

    Creating a source generator

    In this series I describe how to create a source generator, cover issues such as testing the generator, and creating a NuGet package.…

     in  .NET CoreC#Source Generators
  8. Banner image for Source generator updates: incremental generators

    Source generator updates: incremental generators

    Exploring .NET 6 - Part 9

    In this post I look at the updates to the source generator API in .NET 6, why the changes were made, and how to update your source generators to use them.…

  9. Banner image for Improving logging performance with source generators

    Improving logging performance with source generators

    Exploring .NET 6 - Part 8

    In this post I look at the subtleties of using ILogger and discuss the new source generator that can give performance benefits without the boilerplate…

Andrew Lock | .Net Escapades
Want an email when
there's new posts?