So setzen Sie die Standardseite ASP.NET MVC fest
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new
{
controller = "Home", // default controller
action = "Index", // default action on the controller
id = UrlParameter.Optional
}
);
}
Frightened Falcon