Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

IIS, Asp.NET pipeline and concurrency

By: a guest on Feb 28th, 2012  |  syntax: None  |  size: 0.27 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. protected void Application_BeginRequest(object sender, EventArgs e)
  2. {
  3.     Response.Write("Request started: " + DateTime.Now);
  4.     System.Threading.Thread.Sleep(10000);
  5.     Response.Write("<br />");
  6.     Response.Write("Request ended: " + DateTime.Now);
  7.     Response.End();
  8. }