CameraCar.Global.Application_Start C# (CSharp) Method

Application_Start() protected method

protected Application_Start ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        protected void Application_Start(object sender, EventArgs e)
        {
            RouteTable.Routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

            RouteTable.Routes.MapRoute(
                name: "Default",
                url: "{controller}/{action}/{id}",
                defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
            );
        }