is it possible to have area with two routes. for example:
[RouteArea("{culture}/testarea")] <-- specific culture
[RouteArea("testarea")] <-- default culture
LocalizableAreaBaseController ....
Thank You!
is it possible to have area with two routes. for example:
[RouteArea("{culture}/testarea")] <-- specific culture
[RouteArea("testarea")] <-- default culture
LocalizableAreaBaseController ....
Thank You!
You could accomplish this with a route constraint.
Or
(This particular regex constraint would match something like "en" or "en-gb")