July 31, 2017

Tip: Ensuring Application_Start Event Fires with the Next Request

ASP.NET websites need some static data to be initialized, so that subsequent requests can utilize the loaded data and load much faster. It is a common practice to write such code in the Application_Start Event in Global.asax.cs file. protected override void Application_Start(object sender, EventArgs e) However, the Application_Start event could

Ensuring Application_Start Event Fires with the Next Request After a Failure

ASP.NET websites need some static data to be initialized, so that subsequent requests can utilize the loaded data and load much faster. It is a common practice to write such code in the Application_Start Event in Global.asax.cs file. protected override void Application_Start(object sender, EventArgs e) However, the Application_Start event could