Interviews5 answers
In an MVC application, what are the segments of the default route ?
5 Answers
Controller Name ,Action Name and Parameter default
Shailesh UkePosted Jun 17, 2015, 5:52 AM EDT
http://www.asp.net/mvc/overview/older-versions-1/controllers-and-routing/asp-net-mvc-routing-overview-cs
Khan Abrar AhmedPosted Jun 16, 2015, 2:54 AM EDT
ASP.Net MVC 3 type of Segment
Controller Segment
Action Segment
Parameter Segment
Munesh SharmaPosted Jun 15, 2015, 8:29 PM EDT
http://dotnet-munesh.blogspot.in/2015/05/aspnet-mvc-routing-with-example.html
Munesh SharmaPosted Jun 15, 2015, 8:28 PM EDT
There are 3 segments of the default route in an MVC application.They are:
The 1st segment is the Controller Name.
Example: search
The 2nd segment is the Action Method Name.
Example: label
The 3rd segment is the Parameter passed to the Action method.
Example: Parameter Id - MVC
Alankar BhoaslePosted Jun 9, 2015, 9:49 PM EDT


