title: Application_EndRequest triggered before request end?
body: <p>I have some simple classes that need to be disposed a the end of the request.</p>
  
  <p>For that end I call the <code>Dispose</code> method on those objects from the <code>Application_EndRequest</code> event in <code>Global.asax</code>.</p>
  
  <p>This "works fine on my machine" but causes some problems on my production server where I get <code>Cannot access a disposed object.</code> This happens in some MVC helpers.</p>
  
  <p>It seemed to me like Application_EndRequest is triggered at the end of the request. Is this not the case? Is there another event I should be using to dispose my objects?</p>