Model View Controller (MVC) Question:
What is the difference between adding routes, to a webforms application and to an mvc application?
Answer:
To add routes to a webforms application, we use MapPageRoute() method of the RouteCollection class, where as to add routes to an MVC application we use MapRoute() method.
Previous Question | Next Question |
What is the use of the following default route? | How do you handle variable number of segments in a route definition? |