Adding routes

ASP.NET MVC routes are configured and added during application startup. There are two ways to add routes: within the UseMvc method on the Startup class, or by using route attributes.

Get Hands-On Full-Stack Web Development with ASP.NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.