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

Using action results and content negotiation with "route-to-code" APIs
In this post I describe how to use content negotiation with route-to-code by executing ActionResults.…

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

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

