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.

Published Thursday, September 04, 2008 11:20 PM by Jason N. Gaylord

Comments

# re: IIS7 Integrated Mode and Global.asax

Thursday, September 04, 2008 11:38 PM by Jason N. Gaylord

Digg here: digg.com/.../IIS7_Integrated_Mode_and_Global_asax

# re: IIS7 Integrated Mode and Global.asax

Saturday, June 27, 2009 9:21 AM by George Sazandrishvili

We have just moved one of our applications to Windows 2008 and IIS 7 and it just broke. We do require to access Request data from Global.asax

It looks like the best approach will be to reorganize the app.

Leave a Comment

(required) 
(required) 
(optional)
(required)