Model View Controller (MVC) Question:
What are the 2 ways of adding constraints to a route?
Answer:
1. Use regular expressions
2. Use an object that implements IRouteConstraint interface
2. Use an object that implements IRouteConstraint interface
Previous Question | Next Question |
How do you handle variable number of segments in a route definition? | Give 2 examples for scenarios when routing is not applied? |