In this post you will learn how to define ‘Route Constraints’ in MVC Application. Route Constraints allow us to apply a regular expression to a URL segment to restrict whether the route will match the request.