title: mvc3 invokes Application_EndRequest without Application_BeginRequest()
body: <p>I have a MVC3 App with DevExpress MVC Controls and the default</p>
  
  <pre><code>routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  </code></pre>
  
  <p>in <strong>RegisterRoutes</strong>, but the following URLs from DevEx includes: </p>
  
  <pre><code>/DXR.axd?r=1_3,1_4...
  /DXR.axd?r=1_42,1_41,14_18,14_2,...
  </code></pre>
  
  <p>just invoke the <strong>Application_EndRequest()</strong> without an invoke  of <strong>Application_BeginRequest()</strong> before.</p>
  
  <p>At the moment, this leads to strange workarounds for bind/unbind the nHibernate CurrentSessionContext...Probably there are better ways to exclude these URLs as a string compare in <strong>Application_EndRequest()</strong>?</p>
  
  <p>( Ref:</p>
  
  <blockquote>
    <p><a href="https://stackoverflow.com/questions/3541397/in-what-situation-application-endrequest-is-called-but-application-beginrequest">In what situation Application_EndRequest is called but Application_BeginRequest is not called?</a></p>
  </blockquote>
  
  <p>I could not find any Exeption and it only concerns the above DevEx URLs )</p>