How do you add constraints to a route ?

 Posted by Bharathi Cherukuri on 8/27/2012 | Category: ASP.NET MVC Interview questions | Views: 16650 | Points: 40
Answer:

There are 2 ways for adding constraints to a route. They are:
i) By using Regular Expressions and
ii) By using an object which implements IRouteConstraint interface.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response