protected void Application_Start(object sender, EventArgs e)
        {
            HttpConfiguration httpConfiguration = GlobalConfiguration.Configuration;

            Bootstrapper.Init(httpConfiguration);
        }
Exemple #2
0
        protected void Application_Start()
        {
            HttpConfiguration httpConfiguration = GlobalConfiguration.Configuration;

            Bootstrapper.Init(httpConfiguration);
        }
Exemple #3
0
        /*when one app can run on web, need this app start config as entrance, so must need add new Item to Global.asax*/
        protected void Application_Start(object sender, EventArgs e)
        {
            var config = GlobalConfiguration.Configuration;

            Bootstrapper.Init(config);
        }