- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

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.

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…

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…

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…

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…

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

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

