top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

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

+2 votes
843 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
...