2.3. Summary

In this chapter you were introduced to the new IIS 7.0 Integrated mode of execution. The new mode unifies the request-processing pipeline between IIS 7.0 infrastructure and ASP.NET runtime, thus leveraging ASP.NET from a framework to develop web applications to a framework to extend IIS 7.0 runtime.

While upgrading an ASP.NET application from previous versions of IIS to host it under IIS 7.0 Integrated mode, it is essential to consider several sections within the application's web.config configuration file to get rid of the inconsistencies and abide by the new rules. Some of the new rules are as follows:

  • httpModules section: It is recommended to remove this section from the <system.web /> configuration section group file of the application's web.config configuration file and place its entries inside the <modules /> configuration section of the <system.webServer /> configuration section group. Only modules defined inside the <modules> section will take effect and execute. Every managed module defined can be configured to run for either all resources or just ASP.NET resources.

  • httpHandlers section: The httpHandlers section should also be removed from the <system.web /> configuration section group of the application's web.config configuration file, with its entries placed inside the <modules /> configuration section inside the <system.webServer /> configuration section group. What is important about configuring a handler is that there is no need to use the IIS 7.0 Manager ...

Get Professional ASP.NET 3.5 Security, Membership, and Role Management with C# and VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.