ActionFiltersAndOrdering.Global.Application_Start C# (CSharp) 메소드

Application_Start() 보호된 메소드

protected Application_Start ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void
        protected void Application_Start(object sender, EventArgs e) {

            GlobalConfiguration.Configuration.Routes.MapHttpRoute(
                "DefaultHttpRoute",
                "api/{controller}/{id}",
                defaults: new { id = RouteParameter.Optional }
            );
        }
    }