static void OnEndRequest(object sender, System.EventArgs e) { var handler = new DebugHttpHandler(); handler.ProcessRequest(HttpContext.Current); }