public static void EnsureStartup() { if (!_startupComplete) { lock (_locker) { if (!_startupComplete) { DataConfig.PerformStartup(); _startupComplete = true; } } } }
protected void Application_BeginRequest(object sender, EventArgs e) { DataConfig.EnsureStartup(); }