- Loading...
-
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"!
-
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.
-
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.…
-
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.…
-
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…
-
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…
-
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…