Difference between and ?

Every time I have to add a handler or module for ASP.NET with IIS7, the instructions always tell me to incorporate it into two sections: system.web and system.webserver.

<system.web>
    <httpHandlers>
    </httpHandlers>
    <httpModules>
    </httpModules>
</system.web>

And this:

<system.webServer>
    <modules>
    </modules>
    <handlers>
    </handlers>
</system.webServer>

What is the difference between these two sections?

In addition, if I don’t add it to the system.web section, my Visual Studio 2008 debugger also doesn’t work correctly.

2 Answers
2

Leave a Comment