site image
Andrew Lock avatar

Andrew Lock

Minimal APIs
  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 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.…

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

  6. Banner image for Behind the scenes of minimal APIs

    Behind the scenes of minimal APIs

    In this series I look at the source code behind minimal APIs, to see how minimal APIs are turned into RequestDelegates that ASP.NET Core can execute.…

  7. Banner image for Using CancellationTokens in ASP.NET Core minimal APIs

    Using CancellationTokens in ASP.NET Core minimal APIs

    In this post I'll show how you can use CancellationTokens in your minimal API handlers to stop execution when a user cancels a request from their browser…

  8. Banner image for Adding content negotiation to minimal APIs with Carter

    Adding content negotiation to minimal APIs with Carter

    In this post I show how to use the open source library Carter to add content negotiation to an ASP.NET Core minimal API app…

  9. Banner image for Returning XML from minimal APIs in .NET 6

    Returning XML from minimal APIs in .NET 6

    In this post I show how to return an XML response from minimal APIs, how to create a helper extension method, and discuss performance considerations…

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