O'Reilly logo

Professional ASP.NET 3.5 Security, Membership, and Role Management with C# and VB by Stefan Schackow, Bilal Haidar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required