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. You even get a free copy of the first edition of ASP.NET Core in Action!
In this post I introduce the Microsoft.AspNetCore.MiddlewareAnalysis package and show how to use it to visualise the middleware in your .NET 6 apps.…
In this post I describe the difficulties of adding calls to UsePathBase with .NET 6 WebApplication programs, and describe two approaches to work around it…
In this post I'll describe a lesser-known property on HttpRequest called `PathBase`. I describe what it does, when it's useful, and how to use it.…
In this post I look at some of the code behind WebApplication, and focus on how the middleware and endpoints are configured…
In this post I describe the ProblemDetailsMiddleware by Kristian Hellang that can be used to return ProblemDetails when an exception occurs in an API project.…
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.…
Stay up to the date with the latest posts!