routing is starting page in webapplication.
If you set
about is your starting page you will change controller name About instead of Home
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
}
Changed:
defaults: new { controller = "About", action = "Index", id = UrlParameter.Optional }