Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Use [Route(...)] on action methods to specify an attribute route that allows all verbs #900

Closed
rynowak opened this issue Jul 30, 2014 · 1 comment
Assignees
Milestone

Comments

@rynowak
Copy link
Member

rynowak commented Jul 30, 2014

Feedback from @loudej

@yishaigalatzer
Copy link
Contributor

@rynowak this does not say a whole lot. Please provide detailed description.

@yishaigalatzer yishaigalatzer added this to the 6.0.0-alpha3 milestone Aug 1, 2014
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.
@danroth27 danroth27 modified the milestones: 6.0.0-alpha3, 6.0.0-alpha4 Aug 12, 2014
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.
Projects
None yet
Development

No branches or pull requests

4 participants