Skip to content

Instantly share code, notes, and snippets.

@sandrinodimattia
Created November 5, 2012 23:59
Show Gist options
  • Select an option

  • Save sandrinodimattia/4021251 to your computer and use it in GitHub Desktop.

Select an option

Save sandrinodimattia/4021251 to your computer and use it in GitHub Desktop.
Simulate long start
public class Global : HttpApplication
{
void Application_Start(object sender, EventArgs e)
{
Thread.Sleep(10 * 1000);
}
void Application_End(object sender, EventArgs e)
{
// Code that runs on application shutdown
}
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment