protected void Application_Start(object sender, EventArgs e) { ConfigUtility.setAzureRuntime(true); ConfigurationActions myConfigActions = new ConfigurationActions(); Application["masterHost"] = ServiceConfigHelper.MasterServiceWebHost.MasterHost; ConfigUtility.writeConsoleMessage("\nWeb Role Application_Start: New Node ID: " + AzureUtility.getRoleInstanceID() + " Has Started Successfully and Initialized Its Configuration From the Configuration Database. Welcome to Windows Azure!\n", EventLogEntryType.Warning, true, new Trade.StockTraderWebApplicationSettings.Settings()); }
protected void Application_Start(object sender, EventArgs e) { ConfigUtility.setAzureRuntime(false); ConfigurationActions myConfigActions = new ConfigurationActions(); Application["masterHost"] = ServiceConfigHelper.MasterServiceWebHost.MasterHost; ConfigUtility.writeConsoleMessage("\nWeb Application Global Application_Start: Web App New TradeWeb Node Starting. Hello!\n", EventLogEntryType.Warning, true, new Trade.StockTraderWebApplicationSettings.Settings()); }