Back to Practical Aspnetcore

New Routing - enable just MVC

projects/endpoint-routing/new-routing-2/README.md

latest228 B
Original Source

New Routing - enable just MVC

This example shows how to enable just MVC routes (with attribute routing, not convention routing) in your app using the method app.UseRouting. Razor Pages won't work at all in this sample.