UPDATE PREVIEW RELEASED http://www.bleevo.com/2009/08/aspnet-mvc-strongroutes-appairweb-preview-release/
Just a little preview of something I am working on that will be available soon.
public static class SubmissionRoutes { [RouteOrder(1)] public static readonly StrongRoute Create = StrongRoute.Map<SubmissionController>("submission/create", c => c.CreateSubmission(null)); }
Usage:
<%=Html.LinkTo("Create", SubmissionRoutes.Create)%>
Awesome, looking forward to seeing the full thing. Any chance it can be used in an attribute style on a controllers action?
Could you provide an example of the semantics you are thinking off.
Was hoping for something like:
[StrongRoute("Create")]
public ActionResult Create() { }
Or even just:
[StrongRoute]
public ActionResult Create() { }
Could use reflection to build the links up. Just a thought.