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

Attribute Routing: Url Generation #729

Closed
rynowak opened this issue Jul 1, 2014 · 1 comment
Closed

Attribute Routing: Url Generation #729

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

Comments

@rynowak
Copy link
Member

rynowak commented Jul 1, 2014

This item tracks creating the rough skeleton and infrastructure for URL generation for attribute routed actions, as well as providing ambient route values so that conventional link generation functions as-expected (MVC 5 behavior) when an attribute route is matched.

Follow up items track optimizing the implementation.

design

The attribute-mega-route will match on specific tokens for action and controller and maintain a mapping from these values to the route template for each action descriptor. On match it will attempt to use that template to generate a link.

Additionally when an attribute routed action matches, the MVC handler will add some data to the route values to provide the expected 'ambient values' for link generation to behave consistently with conventional routing.

Though this description mentions the 'action' and 'controller' tokens, the process will be totally data driven by the ADP. These tokens won't appear in our code other than building the action descriptor.

@rynowak rynowak self-assigned this Jul 1, 2014
@danroth27 danroth27 modified the milestones: 1.0.0-alpha3, 6.0.0-alpha3 Jul 2, 2014
@rynowak rynowak closed this as completed Jul 23, 2014
@rynowak
Copy link
Member Author

rynowak commented Jul 23, 2014

745239f

@rynowak rynowak modified the milestone: 6.0.0-alpha3 Jul 23, 2014
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

2 participants