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

     in  .NET Core .NET Core 6 Source Generators
  5. Banner image for Please stop lying about .NET Standard 2.0 support!

    Please stop lying about .NET Standard 2.0 support!

    In this post I have a bit of a rant about Microsoft's NuGet packages lying about supporting .NET Standard 2.0 when they kinda don't…

     in  .NET Core .NET Core 6
  6. 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…

     in  .NET Core .NET Core 6 Source Generators
  7. Banner image for NetEscapades.EnumGenerators: a source generator for enum performance

    NetEscapades.EnumGenerators: a source generator for enum performance

    In this post I describe a source generator I created to improve the performance of enum operations…

     in  .NET Core .NET Core 6 Source Generators
  8. Banner image for Solving the source generator 'marker attribute' problem - Part 2

    Solving the source generator 'marker attribute' problem - Part 2

    Creating a source generator - Part 8

    In this post I describe how I solved a problem I've been wrestling with around source generators: where to put the 'marker attributes'…

     in  .NET Core .NET Core 6 Source Generators
  9. Banner image for Solving the source generator 'marker attribute' problem - Part 1

    Solving the source generator 'marker attribute' problem - Part 1

    Creating a source generator - Part 7

    In this post I describe a problem I've been wrestling with around source generators: where to put the 'marker attributes' that drive the generator…

     in  .NET Core .NET Core 6 Source Generators
Andrew Lock | .Net Escapades
Want an email when
there's new posts?