Blog Logo
TAGS

Building the final RequestDelegate in ASP.NET Core Minimal APIs - Behind the scenes of minimal APIs - Part 7

In this post, we put all the components together to see how the RequestDelegate is built in ASP.NET Core Minimal APIs. We look at the RequestDelegateFactory.Create() method, see the order the various Expressions that go into a RequestDelegate are built, and see how theyre combined. We consider a simple minimal API handler, that takes a single parameter and returns a string. The focus of this post is the RequestDelegateFactory.Create() method. This is part 7 in the series: Behind the scenes of minimal APIs.