14
Reply

What is routing .

Shivam Shukla

Shivam Shukla

Jan 21, 2015
2.4k
1

    http://beginmvc.blogspot.com/2015/03/day-2-installing-aspnet-mvc-4.html

    Shivam Shukla
    March 18, 2015
    2

    Routing is mechanism used for mapping the URL with the action and controller method like belowfor Example http://localhost/home/index controller is Home Action Method is index routes.MapRoute(name: "Default",url: "{controller}/{action}/{id}",defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional });

    Navin Kumar
    February 27, 2015
    2

    ASP.NET routing enables you to use URLs that do not have to map to specific files in a Web site. Because the URL does not have to map to a file, you can use URLs that are descriptive of the user's action and therefore are more easily understood by users. The ASP.NET MVC framework and ASP.NET Dynamic Data extend routing to provide features that are used only in MVC applications and in Dynamic Data applications.

    Shivam Shukla
    January 21, 2015
    2

    Basically, Routing is a pattern matching system that monitor the incoming request and figure out what to do with that request. At runtime, Routing engine use the Route table for matching the incoming request's URL pattern against the URL patterns defined in the Route table. You can register one or more URL patterns to the Route table at Application_Start event. MVC5 also supports attribute routing, to know more refer Attribute Routing in ASP.NET MVC.

    Mohan G
    April 17, 2015
    1

    Basically, Routing is a pattern matching system that monitor the incoming request and figure out what to do with that request. At runtime, Routing engine use the Route table for matching the incoming request's URL pattern against the URL patterns defined in the Route table. You can register one or more URL patterns to the Route table at Application_Start event. MVC5 also supports attribute routing, to know more refer Attribute Routing in ASP.NET MVC.

    Mohan G
    April 17, 2015
    1

    .

    Shravan Kumar
    April 17, 2015
    1

    .

    Shravan Kumar
    April 17, 2015
    1

    Routing is a pattern matching system that monitor the incoming request and figure out what to do with that request. At runtime, Routing engine use the Route table for matching the incoming request's URL pattern against the URL patterns defined in the Route table.

    Kml Surani
    April 14, 2015
    1

    http://www.dotnet-tricks.com/Tutorial/mvc/HXHK010113-Routing-in-Asp.Net-MVC-with-example.html

    Munesh Sharma
    March 30, 2015
    1

    Routing enables you to use URLs that do not have to map to specific files in sajidlkhan lodi JI you are little bit Wrong

    Shivam Shukla
    February 28, 2015
    1

    Routing is for mapping to file with that we can use our specific url name without extention like ".aspx"

    sajidlkhan lodi
    February 09, 2015
    1

    http://www.c-sharpcorner.com/UploadFile/krishnasarala/routing-in-mvc/

    Munesh Sharma
    January 29, 2015
    1

    Routing is a Root Action Decide the Path when your application run

    Shailesh Uke
    May 27, 2015
    0

    Routing is mechanism used for mapping the URL with the action and controller method like below for Example http://localhost/home/index controller is Home Action Method is index routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } ); and if you want to change it http://localhost/home/My page then it will be routes.MapRoute( name: "Index", url: "{mypage}/{action}/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } );

    Shuvojit Halder
    May 19, 2015
    0