site image
Andrew Lock avatar

Andrew Lock

  1. Loading...
  2. Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!

    From Zero to Hero: REST APIs in .NET
  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 Customising generated code with marker attributes

    Customising generated code with marker attributes

    Creating a source generator - Part 4

    In this post I describe how to customise a source generator by reading properties from a marker attribute…

     in  .NET Core .NET Core 6 Source Generators
  5. 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!…

  6. 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…

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

     in  .NET Core .NET Core 6 Source Generators
  8. Banner image for Upgrading a .NET 5 "Startup-based" app to .NET 6

    Upgrading a .NET 5 "Startup-based" app to .NET 6

    Exploring .NET 6 - Part 12

    In this post I tackle a question I have received several times: how can I update an ASP.NET Core 5 app that uses Startup to .NET 6's minimal hosting APIs.…

     in  .NET Core ASP.NET Core .NET Core 6
  9. Banner image for [CallerArgumentExpression] and throw helpers

    [CallerArgumentExpression] and throw helpers

    Exploring .NET 6 - Part 11

    In this post I describe the new C# 10 attribute, [CallerArgumentExpression], and show how it's used in .NET 6 to create a throw helper for ArgumentNullException…

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