top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

+2 votes
440 views
What are the 3 segments of the default route, that is present in an ASP.NET MVC application?
posted May 15, 2015 by Shivaranjini

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Three Segments:

1st Segment - Controller Name
2nd Segment - Action Method Name
3rd Segment - Parameter that is passed to the action method

Example: http://localhost:1325/Customer/Details/5
Controller Name = Customer
Action Method Name = Details
Parameter Id = 5

answer May 19, 2015 by Manikandan J
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...