You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ApiVersionRouteConstraint always returns false when Match is called for URL generation. This breaks URL generation features provided by the UrlHelper and the numerous extensions built on top of it.
For example, assume a route named HelloWorld:
api/v{version:apiVersion}/helloworld
Then:
Url.Link("HelloWorld",new{version="1"});
Should generate:
api/v1/helloworld
However, an exception is thrown instead.
The text was updated successfully, but these errors were encountered:
The ApiVersionRouteConstraint always returns false when Match is called for URL generation. This breaks URL generation features provided by the UrlHelper and the numerous extensions built on top of it.
For example, assume a route named HelloWorld:
Then:
Should generate:
However, an exception is thrown instead.
The text was updated successfully, but these errors were encountered: