Currently I'm using a custom class for converting paths to lower case variants, which works without a hitch
Ex. ~/Services/Catering => ~/services/catering
My question is how can I go about getting MVC to correctly parse a URL if I replace the Pascal Case with a more slug like setup
Ex. ~/Services/FoodAndDrink => ~/services/food-and-drink
I generate the URLs in my inherited Route class, overriding the GetVirtualPath() function to do the conversion to lowercase and replacing capital letters with a dash and lowercase variant.
I imagine I would have to intercept the URL and just remove the dashes before the routing actually occurs, but I'm not sure where this goes down in the MVC page cycle