This repository was archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use [Route(...)] on action methods to specify an attribute route that allows all verbs #900
Comments
@rynowak this does not say a whole lot. Please provide detailed description. |
rynowak
referenced
this issue
Aug 1, 2014
1. Added an Order property to IRouteTemplateProvider, ReflectedAttributeRouteModel, AttributeRouteInfo, AttributeRouteLinkGenerationEntry and AttributeRouteMatchingEntry. 2. Changed the implementation of AttributeRoute to take the order into account when routing incomming requests and generating links. 3. Ensured a stable ordering of route entries with the same order and precedence for route matching and link generation based on the template text. 4. Added tests to validate that the precedence gets respected in route matching and link generation. 5. Added tests to validate that the order gets respected in route matching and link generation. 6. Added tests to validate that the order gets respected over the precedence for route matching and link generation. 7. Added tests to validate that routes with the same order and precedence expose a stable ordering for route matching and link generation.
javiercn
added a commit
that referenced
this issue
Sep 1, 2014
…te route that allows all verbs. 1. Changed attribute usage on RouteAttribute. 2. Added a test on action discovery to ensure that actions with [Route] get discovered as attribute routed actions. 3. Added a test on reflected action descriptor provider to ensure that an action with [Route] on the controller and [Route] on the action results in an action that allows any Http method.
javiercn
added a commit
that referenced
this issue
Sep 10, 2014
…te route that allows all verbs. 1. Changed attribute usage on RouteAttribute. 2. Added a test on action discovery to ensure that actions with [Route] get discovered as attribute routed actions. 3. Added a test on reflected action descriptor provider to ensure that an action with [Route] on the controller and [Route] on the action results in an action that allows any Http method.
javiercn
added a commit
that referenced
this issue
Sep 10, 2014
…te route that allows all verbs. 1. Changed attribute usage on RouteAttribute. 2. Added a test on action discovery to ensure that actions with [Route] get discovered as attribute routed actions. 3. Added a test on reflected action descriptor provider to ensure that an action with [Route] on the controller and [Route] on the action results in an action that allows any Http method.
javiercn
added a commit
that referenced
this issue
Sep 10, 2014
…te route that allows all verbs. 1. Changed attribute usage on RouteAttribute. 2. Added a test on action discovery to ensure that actions with [Route] get discovered as attribute routed actions. 3. Added a test on reflected action descriptor provider to ensure that an action with [Route] on the controller and [Route] on the action results in an action that allows any Http method.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feedback from @loudej
The text was updated successfully, but these errors were encountered: