title: ASP.NET HttpApplication.EndRequest event not fired
body: <p>According <a href="http://msdn.microsoft.com/en-us/library/y3bwdsh3.aspx" rel="noreferrer">this MSDN article</a> <em>HttpApplication</em>.EndRequest can be used to close or dispose of resources. However this event is not fired/called in my application.</p>
  
  <p>We are attaching the handler in Page_Load the following way:</p>
  
  <pre><code>HttpContext.Current.ApplicationInstance.EndRequest += ApplicationInstance_EndRequest;
  </code></pre>
  
  <p>The only way is to use the Application_EndRequest handler in Global.asax, but this is not acceptable for us.   </p>