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 Replacing method calls with Interceptors

    Replacing method calls with Interceptors

    Exploring the .NET 8 preview - Part 5

    In this post I look at the C#12 feature, interceptors. I show how and why they're useful, and how the ASP.NET Core minimal API source generator uses them…

  5. Banner image for Exploring the new minimal API source generator

    Exploring the new minimal API source generator

    Exploring the .NET 8 preview - Part 4

    In this post I take a look at the new minimal API source generator added in .NET 8 preview 3 to support AOT, and explore the code it generates.…

  6. Banner image for Using the new configuration binder source generator

    Using the new configuration binder source generator

    Exploring the .NET 8 preview - Part 1

    In this post I introduce the new configuration binder source generator added in .NET 8 preview 3, explore how it works, and how to use it in your apps.…

  7. Banner image for Tracking down a hanging xUnit test in CI: building a custom Test Framework

    Tracking down a hanging xUnit test in CI: building a custom Test Framework

    In this post I describe how we tracked down a hanging xUnit test by building a custom XuniTestFramework implementation…

  8. Banner image for Cancelling await calls in .NET 6 with Task.WaitAsync()

    Cancelling await calls in .NET 6 with Task.WaitAsync()

    In this post I discuss the new Task.WaitAsync() APIs introduced in .NET 6 and how you can use them to cancel an await call…

  9. Banner image for Waiting for your ASP.NET Core app to be ready from an IHostedService in .NET 6

    Waiting for your ASP.NET Core app to be ready from an IHostedService in .NET 6

    In this post I describe how you can wait for your ASP.NET Core app to be ready to receive requests from inside an IHostedService/BackgroundService in .NET 6…

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