5
Reply

Say something about Routing in short and where it is define in application?

Preeti Saroj

Preeti Saroj

10y
1.6k
0
Reply

    Routing of MVC use for matching URL pattern . when user type in URL the request for mapping page goes from controller to routing

    Routing of MVC use for matching URL pattern . when user type in URL the request for mapping page goes from controller to routing

    It Matches incoming request to Action Method

    routing in mvc is very important part of web development in MVC it provides the URLlike %Enviroment%/{ Area}/{controller}/{Action}/Id like this url is generated in mvcthis is located in Globle.asax.cs file

    Routing is a Stand-alone component that matches incoming request to IHttpHandlers by URL Pattern. Routing is setup in two ways in application: i) Enabled in web configuration file and, ii) Created in Global.asax file.