protected void Application_End(object sender, EventArgs e) { if (container != null) { container.Dispose(); container = null; } }