Routing in ASP NET Core | Day 17 | Pranaya Rout | Dot Net Tutorials | Online Training

303 views Mar 12, 2024

Routing in ASP NET Core | Day 17 | Pranaya Rout | Dot Net Tutorials | Online Training At the end of this video, you will understand the following pointers. What is Routing in ASP.NET Core MVC? How Does Routing Work in ASP.NET Core? What are the different types of Routing supported by ASP.NET Core MVC? How is Routing Working in ASP.NET Core? Understanding Conventional Based Routing. Custom Routing in ASP.NET Core MVC Application Routing without Default Values in ASP.NET Core MVC Application Route Constraints in ASP.NET Core MVC Web Application How to Make Route Parameters Optional in ASP.NET Core MVC Application? How to Provide Default Route Values in ASP.NET Core MVC Application? Custom Route Constraints in ASP.NET Core MVC Web Application How to Create a Custom Route Constraint in ASP.NET Core? What is Routing in ASP.NET Core MVC? The Routing in the ASP.NET Core MVC Web Application is a mechanism in which it will inspect the incoming HTTP Requests (i.e., URLs) and then map that HTTP request to the controller’s action method. This mapping is done by the routing rules defined for the application. We can add the Routing Middleware to the Request Processing Pipeline. The ASP.NET Core MVC Framework maps the incoming HTTP Requests, i.e., URLs, to the Controller’s action methods based on the routes configured in your application. You can configure multiple routes for your application, and for each route, you can also set some specific configurations such as default values, constraints, etc. If this is not clear at the moment, then don’t worry; we will discuss each and everything with examples.