How to use endpoint routing in ASP.NET Core 3.0 MVC

ASP.NET Core MVC is the .NET Core match of the ASP.NET MVC framework. You can take gain of ASP.NET Core MVC to build cross-platform_ scalable_ high-accomplishment web applications and APIs using the Model-View-Controller design model. ASP.NET Core takes gain of routing to map incoming requests to relative controller actions. 

You can acquire the basics of routing in ASP.NET Core from my earlier article_ “Demystified: Routing in ASP.NET Core.” This article presents a debateion of how we can use endpoint routing in ASP.NET Core 3.0 MVC.

Create a new controller in ASP.NET Core 3.0 MVC

In the Solution Explorer Window_ select the Controllers folder in the project_ right-click and then click on Add-gt;Controller… to form a new controller. Specify the name of the controller class as AuthorController. Next_ restore the code of the AuthorController class with the pursueing code.