site image
Andrew Lock avatar

Andrew Lock

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

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

  6. Banner image for Comparing WebApplicationBuilder to the Generic Host

    Comparing WebApplicationBuilder to the Generic Host

    Exploring .NET 6 - Part 2

    In this post I take a first look at the new WebApplication and WebApplicationBuilder types in .NET 6, and compare them to the Generic Host from .NET 5.…

  7. Banner image for Looking inside ConfigurationManager in .NET 6

    Looking inside ConfigurationManager in .NET 6

    Exploring .NET 6 - Part 1

    In this post I take a look at the ConfigurationManager class new in .NET 6, explore why it was added, and look at the scenarios it addresses.…

  8. Banner image for ValueStringBuilder: a stack-based string-builder

    ValueStringBuilder: a stack-based string-builder

    A deep dive on StringBuilder - Part 6

    In this post I discuss the ValueStringBuilder type, used internally in .NET as a zero/low-allocation alternative to StringBuilder…

     in  .NET Core C# Source Code Dive Performance
  9. Banner image for Reducing allocations by caching with StringBuilderCache

    Reducing allocations by caching with StringBuilderCache

    A deep dive on StringBuilder - Part 5

    In this post I look at the internal StringBuilderCache type, benchmark it against a StringBuilder, and walk through the code to show how it works.…

     in  .NET Core C# Source Code Dive Performance
Andrew Lock | .Net Escapades
Want an email when
there's new posts?