Routing is mechanism used for mapping the URL with the action and controller method like below
for Example
http://localhost/home/index
controller is Home
Action Method is index
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
and if you want to change it
http://localhost/home/My page
then it will be
routes.MapRoute(
name: "Index",
url: "{mypage}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);