i am trying to create routes in asp.net mvc
routes.MapRoute(
"Localization", // Route name
"{Culture}/{controller}/{action}/{id}", // URL with parameters
new { Culture = "en-US", controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
routes.MapRoute(
"Default", // Route name
"{controller}/{action}", // URL with parameters
new { controller = "Home", action = "Index"} // Parameter defaults
);
concept is simple... controller should be able to called through en-us/Controller/Action or controller/action... is it possible?