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 Behind the implementation of .NET's PriorityQueue

    Behind the implementation of .NET's PriorityQueue

    In this post I show how .NET's PriorityQueue implements its methods and relate these methods to operations on a min-heap data structure…

     in  .NET 8 Data Structures Source Code Dive
  5. Banner image for Using default interface methods for performance gains in IHeaderDictionary

    Using default interface methods for performance gains in IHeaderDictionary

    In this post I look at an example of how default interfaces were used to improve the performance of IHeaderDictionary…

     in  ASP.NET Core C# Source Code Dive Performance
  6. Banner image for A brief look at StringValues

    A brief look at StringValues

    In this post I look at the StringValues type, where it's used in ASP.NET Core, why it's useful, how it's implemented, and why.…

     in  ASP.NET Core C# Source Code Dive Performance
  7. Banner image for Customising the RequestDelegate with filters

    Customising the RequestDelegate with filters

    Behind the scenes of minimal APIs - Part 8

    In this post we walk through the RequestDelegateFactory.Create() method, to understand how all the Expressions we've seen are combined into a RequestDelegate…

  8. Banner image for Building the final RequestDelegate

    Building the final RequestDelegate

    Behind the scenes of minimal APIs - Part 7

    In this post we walk through the RequestDelegateFactory.Create() method, to understand how all the Expressions we've seen are combined into a RequestDelegate…

  9. Banner image for Generating the response writing expression for RequestDelegate

    Generating the response writing expression for RequestDelegate

    Behind the scenes of minimal APIs - Part 6

    In this post I look at how CreateTargetableRequestDelegate() generates the code that writes the minimal API handler response to the HttpResponse…

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