Home > DeveloperSection > Interviews > What are the 2 ways of adding constraints to a route?

Posted on    May-19-2012 3:17 AM

 ASP.NET MVC ASP.NET MVC 
Ratings:
 1 Answer(s)
  5582  View(s)
Rate this:

Tanuj Kumar

Total Post:30

Points:150
Posted on    May-19-2012 12:00 AM

1. Use regular expressions
2. Use an object that implements IRouteConstraint interface


Modified On May-08-2016 11:57:02 PM

Don't want to miss updates? Please click the below button!

Follow MindStick