site image
Andrew Lock avatar

Andrew Lock

Source Code Dive
  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 [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…

  5. Banner image for New dependency injection features in .NET 6

    New dependency injection features in .NET 6

    Exploring .NET 6 - Part 10

    In this post I talk about some of the new features added to the DI libraries in .NET 6, as well a performance feature that didn't make it in.…

  6. Banner image for Supporting integration tests with WebApplicationFactory in .NET 6

    Supporting integration tests with WebApplicationFactory in .NET 6

    Exploring .NET 6 - Part 6

    In this post I look at the changes that were made to WebApplicationFactory<T> to support minimal hosting APIs with WebApplicationBuilder in .NET 6…

  7. Banner image for Supporting EF Core migrations with WebApplicationBuilder

    Supporting EF Core migrations with WebApplicationBuilder

    Exploring .NET 6 - Part 5

    In this post I describe how HostBuilder had to be updated to support the EF Core tools after the introduction of WebApplication and WebApplicationBuilder…

  8. Banner image for Building a middleware pipeline with WebApplication

    Building a middleware pipeline with WebApplication

    Exploring .NET 6 - Part 4

    In this post I look at some of the code behind WebApplication, and focus on how the middleware and endpoints are configured…

  9. Banner image for Exploring the code behind WebApplicationBuilder

    Exploring the code behind WebApplicationBuilder

    Exploring .NET 6 - Part 3

    In this post I look at the code behind WebApplicationBuilder, to see how it achieves the minimal hosting API while maintaining functionality.…

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