I\'d like to have dashes separate words in my URLs. So instead of:
/MyController/MyAction
I\'d like:
/My-Controller/My-Act
You can define a specific route such as:
routes.MapRoute(
"TandC", // Route controllerName
"CommonPath/{controller}/Terms-and-Conditions", // URL with parameters
new {
controller = "Home",
action = "Terms_and_Conditions"
} // Parameter defaults
);
But this route has to be registered BEFORE your default route.