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

5.4. Extending IIS 7.0 with Managed Modules and Handlers

Now that you understand the IIS 7.0 configuration system and its general architectural design, it is important to discuss some the changes that were made on some configuration sections, especially the <httpHandlers /> and <httpModules /> configuration sections that were originally located in the <system.web /> configuration section group of the .NET Framework configuration files. As you already know, IIS 7.0 introduced the Integrated mode of execution (explained in Chapter 2). With the new Integrated mode, ASP.NET developers can now build their custom handlers and modules in .NET and make them participate in the processing of HTTP requests that go into the unified HTTP request pipeline. At every stage in the unified HTTP request pipeline, the IIS 7.0 core engine checks to see if there are any native and managed modules to initialize using an internal native module that takes care of querying the managed modules to see whether there are managed modules registered to run in the Integrated mode.

Because IIS 7.0 has no clue about any configuration sections defined inside the ASP.NET specific configuration sections, it has no way of knowing which managed modules and handlers are registered inside the ASP.NET <system.web /> configuration section group that need to run and execute when the web application is executing in the IIS 7.0 Integrated mode.

The only way for the IIS 7.0 configuration system to know which managed modules ...

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