IIS7 Integrated Mode and Global.asax

In IIS7, there are two modes for ASP.NET application pools: classic mode (only mode available for IIS6) and integrated mode. Integrated Mode offers quite a bit with IIS7 and is the recommended mode for application pools (more details at http://learn.iis.net/page.aspx/244/how-to-take-advantage-of-the-iis7-integrated-pipeline/). One of the changes is that the Integrated mode does not have access to the HttpContext during the Application_Start method in the global.asax. It also has an affect on HttpModules and HttpHandlers that reference the HttpContext as well. You’ll want to keep this in mind when building your application structure.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>