What are the two ways for adding constraints to a route?
Answer Posted / Anubhav Gupta
The two ways for adding constraints to a route are: 1) Data annotations - attributes applied to properties or methods in the controller action, and 2) Route attributes - attributes applied directly to the route.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers