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

  5. Banner image for Generating argument expressions for minimal APIs (continued)

    Generating argument expressions for minimal APIs (continued)

    Behind the scenes of minimal APIs - Part 5

    In this post I look at some more expressions that RequestDelegateFactory.CreateArgument() generates to bind minimal API handler parameters…

  6. Banner image for Generating argument expressions for minimal APIs

    Generating argument expressions for minimal APIs

    Behind the scenes of minimal APIs - Part 4

    In this post I look at some of the expressions that RequestDelegateFactory.CreateArgument() generates to bind minimal API handler parameters…

  7. Banner image for Exploring the model-binding logic of minimal APIs

    Exploring the model-binding logic of minimal APIs

    Behind the scenes of minimal APIs - Part 3

    In this post I look at how the RequestDelegateFactory.CreateArgument() chooses which source to use for model-binding and the logic involved…

  8. Banner image for Extracting metadata from a minimal API handler

    Extracting metadata from a minimal API handler

    Behind the scenes of minimal APIs - Part 2

    In this post I look at how the RequestDelegateFactory.InferMetadata() function extracts metadata about a minimal API handler using reflection.…

  9. Banner image for A first look behind the scenes of minimal API endpoints

    A first look behind the scenes of minimal API endpoints

    Behind the scenes of minimal APIs - Part 1

    In this post I take a high-level look at how a call to MapGet("/", () => "Hello World!") is turned into a RequestDelegate that ASP.NET Core can execute.…

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