Simple Redirects With ASP.NET Core Endpoints

As web applications evolve, and we better understand the problems we are solving, reorganizing routes becomes an annoying inevitability. In this short but helpful post, we’ll add a few extension methods to the IEndpointRouteBuilder interface that makes mapping redirects a...