Closed robertdean closed 11 years ago
+1
After couple of hours i had written some working code. If you like it, you can pull it into the project :) P.S. IRouteWithArea interface can be also implemented in the NavigationRoute class, adding public Area property for it, but behaviour with DataTokens is more correct way I think (look here for AreaHelpers source code: http://forums.asp.net/t/1530007.aspx/1)
Thanks for looking at this.. I am going to play with your implementation. I want the default configuration of routes to be as simple as possible so, I am going to see if I can make the API simpler rather then forcing Areas to be registered using the full overload.
Eric Hexter
blog | http://Hex.LosTechies.com info | http://www.linkedin.com/in/erichexter
On Thu, Jan 24, 2013 at 4:27 PM, Локтионов Алексей <notifications@github.com
wrote:
After couple of hours i have written some working code. If you like it, you can pull it into the project :) P.S. class NavigationRoute can aso implements IRouteWithArea interface with public Area property, but behaviour with DataTokens is more correct I think (look here for AreaHelpers source code: http://forums.asp.net/t/1530007.aspx/1)
— Reply to this email directly or view it on GitHubhttps://github.com/erichexter/twitter.bootstrap.mvc/issues/46#issuecomment-12677391.
support added in the current master branch
Actually, not. I have commented, why, inside my pull request.
Given the following MVC Area Registration:
and using the following configuration:
When using
the extension method will generate the following URL
Instead of