i am working on a web project in asp.net mvc. This is code in my RouteConfig
This is url
localhost:55960/Home/myAction/80102/Aus-won-the-match-by-9-wickets
but i want to make it like
localhost:55960/myAction/80102/Aus-won-the-match-by-9-wickets
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}/{Title}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional, Title = "" }
);
I have applied many suggestions available on this platform but not worked. Is there any one who can explain in detail