The Web Application in iis7.0 has two configuration modes: Classic mode and integration mode.
1. Classic Mode
The classic mode is to be compatible with previous versions, and ISAPI extensions are used to call ASP. net Runtime Library, the Web application originally running under iis6.0 is migrated to iis7.0, as long as the application is configured to the classic mode, the code can run normally without modification.
2. Integration Mode
The integration mode is a unified request processing pipeline, which combines ASP. the net request pipeline is combined with the IIS core pipeline. This mode provides better performance, implements configuration and management modularization, and increases the flexibility when using the managed code module to expand IIS. If the old web application runs in iis7.0 integration mode, you may need to modify the Web. config file of the application, especially when you use a custom module that implements the ihttphandler interface. Iis7.0 supports two modes of applications on the same server at the same time.
In iis7 integration modes, after a custom module class [inherit ihttpmodule] is added, the corresponding node configurations of webconfig are as follows:
<system.webServer> <validation validateIntegratedModeConfiguration="false" />
Add the modules subnode under the system. webserver Node