Model View Controller (MVC) Question:

What is the difference between adding routes, to a webforms application and to an mvc application?

Tweet Share WhatsApp

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.

Download MVC PDF Read All 48 MVC Questions
Previous QuestionNext Question
What is the use of the following default route?How do you handle variable number of segments in a route definition?