SHARE
TWEET

IIS, Asp.NET pipeline and concurrency

a guest Feb 28th, 2012 14 Never
  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. }
RAW Paste Data
Top