Extending IIS 7.5 with Modules and Handlers
IIS 7.5 has a modular architecture and is extensible using managed .NET code, so we can install only what we need and replace or extend how the web server behaves
What you'll learn
Since IIS 7, the once monolithic web server has been broken up into about 40 components so a web server can be setup with only what it actually needs which reduces its security exposure and memory footprint. The architecture also facilitates replacing built in functionality with our own implementations. Support for HttpModules and HttpHandlers allow the web server to be extended using familiar managed .NET code rather than the previous ISAPI techiniques that required unmanaged C or C++. Great new diagnostic features provide the ability to save information about failed requests and allow inspection of worker processes and active requests running in the web server. The Microsoft.Web.Administration can also be used to write managed code that can create IIS web sites, application pools, or virtual directories.