Blog Logo

A first look behind the scenes of minimal API endpoints

Minimal APIs have a reputation for being fast, but how do they do it? In this and subsequent posts, I look at the code behind some of the minimal API methods and look at how theyre designed to take your lambda method and turn it into something that runs quickly. In this post I take a relatively high-level look at the code behind a call to MapGet(/, () => Hello World!), to learn the basics of how this lambda method ends up converted into a RequestDelegate that can be executed by ASP.NET Core.