Closed speakertrading closed 6 years ago
Does it work when you don't register the "*permalink" via routes.MapRoute
? Maybe it's just an ordering issue. Can you upload a repo so I can reproduce this?
Yes, changing order resolve the problem.
Thank you so much
Hello
I'm trying to get route values from url string. Before use your library, I can do it with this code:
RouteTable.Routes.GetRouteData(new RewritedHttpContextBase(url))
Where RewritedHttpContextBase is:
I always receive the same controller: one with "*permalink" that match with many urls. This controller is defined in RouteConfig:
The other routes are defined with RouteAttribute and never returned with GetRouteData.
I'm trying with other modes for get RouteValues from url string but with the same result.
Do you know how to get route values including RouteAttribute routes?
Thanks