- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

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.

5 ways to set the URLs for an ASP.NET Core app
In this post I describe 5 different ways to set which URLs your ASP.NET Core application listens on.…

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.…

Replacing AJAX calls in Razor Pages with Razor Components and Blazor
In this post I show how you can get AJAX-like behaviour in your Razor Pages by using Razor Components and Blazor…

Don't replace your View Components with Razor Components
In this post I take a brief look at Razor Components, and whether you should consider using their static render mode instead of View Components.…

Creating a custom ErrorHandlerMiddleware function
In this post I show how to customise the ExceptionHandlerMiddleware to create custom responses when an error occurs in your middleware pipeline…

When ASP.NET Core can't find your controller: debugging application parts
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.…

