C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
14
Reply
What is routing .
Shivam Shukla
10y
2.4k
1
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
http://beginmvc.blogspot.com/2015/03/day-2-installing-aspnet-mvc-4.html
Shivam Shukla
10y
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
10y
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
10y
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
10y
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
10y
1
.
Shravan Kumar
10y
1
.
Shravan Kumar
10y
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
10y
1
http://www.dotnet-tricks.com/Tutorial/mvc/HXHK010113-Routing-in-Asp.Net-MVC-with-example.html
Munesh Sharma
10y
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
10y
1
Routing is for mapping to file with that we can use our specific url name without extention like ".aspx"
sajidlkhan lodi
10y
1
http://www.c-sharpcorner.com/UploadFile/krishnasarala/routing-in-mvc/
Munesh Sharma
10y
1
Routing is a Root Action Decide the Path when your application run
Shailesh Uke
10y
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
10y
0
Message