AuntieDot.UI.Web.Global.Application_Start C# (CSharp) Method

Application_Start() private method

private Application_Start ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        void Application_Start(object sender, EventArgs e)
        {
            // Code that runs on application startup
            #if DEBUG
            ConfigurationManager.AppSettings["DatabaseType"] = "Sandbox";
            #else
            ConfigurationManager.AppSettings["DatabaseType"] = "Production";
            #endif
        }