- 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.
-
How to automatically choose a free port in ASP.NET Core 3.0
In this post I show how to tell ASP.NET Core to use a random free port on startup, instead of a static value. I also show how to retrieve the value.…
-
Accessing route values in endpoint middleware in ASP.NET Core 3.0
In this post I describe how you can access the route values from middleware when using endpoint routing in ASP.NET Core 3.0.…
-
Creating an endpoint from multiple middleware in ASP.NET Core 3.x
In this post I show how you can create a composite endpoint in ASP.NET Core 3.x, by combining multiple middleware into a pipeline as your endpoint.…
-
Inserting middleware between UseRouting() and UseEndpoints() as a library author - Part 2
In this post I show how, as a library author, you can insert middleware into a consumer's pipeline between the call to UseRouting and UseEndpoints.…
-
Inserting middleware between UseRouting() and UseEndpoints() as a library author - Part 1
In this post I show how, as a library author, you can insert middleware into a consumer's pipeline between the call to UseRouting and UseEndpoints.…
-
Converting a terminal middleware to endpoint routing in ASP.NET Core 3.0
Upgrading to ASP.NET Core 3.0 - Part 4
In this post I provide an overview of the new endpoint routing system, and show how you can use it to create endpoints using middleware…