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 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 to customise the ExceptionHandlerMiddleware to create custom responses when an error occurs in your middleware pipeline…
In this post I describe application parts, how ASP.NET Core uses them to find the controllers in your app, and how to list them.…
In this post, I show how you can obtain the original path that triggered an error status code when using the StatusCodePagesMiddleware's re-execute feature.…
In this post I show how to create custom error pages with the StatusCodePagesMiddleware by re-executing the middleware pipeline.…
Stay up to the date with the latest posts!