I have a URL like below and I need to remove the controller name (myController). I\'ve use several fixes but none fixed the issue. Please help me guys..
http://fold
Enable attribute routing by adding following line before route.MapRoute in RouteConfig.cs file
routes.MapMvcAttributeRoutes();
Then add the Route Attribute to each action with the route name, like:
[Route("MyAction")] public ActionResult MyAction() { ... }