MSDN Magazine Launch Issue - February 15, 2008 - (Page 44) Mike Volodarsky IIS Build Web Server Solutions With End-To-End Extensibility he IIS 7.0 Web platform supports more application framework technologies for hosting rich applications than any previous version of IIS, and it comes chock-full of features that you can use to deploy these applications right out of the box. At the same time, however, what you see (in Windows® Setup) is not necessarily what you always get. The IIS 7.0 architecture is designed to be extensible from top to bottom, allowing you to replace any part of the built-in feature set with a custom implementation that suits your needs. As a result, instead of providing a patchwork of plug-in points, IIS 7.0 makes the ultimate commitment to extensibility by implementing all of its own features on top of the public extensibility model. This design is found throughout the platform, from the modular Web server engine itself to the configuration system to the IIS Manager console. In this article, I’ll dive into the IIS 7.0 extensibility model by walking through the shared source Response Modification project, which enables responses from IIS applications to be modified on the fly using configurable response modification rules. I’ll first build the Web server module by taking advantage of the server’s integrated ASP.NET extensibility. Then, I’ll shape the deployment and management features for the module by developing a custom configuration section and creating a custom management page for IIS Manager. 44 msdnmagazine 7. 0 Extending the Web Server The IIS 7.0 modular architecture offers the ability to completely customize the Web server for a required workload. This can often be done simply by installing only the features needed for your application, yielding a lean Web server that does exactly what is needed and nothing more. However, this is only the first step. Often, the desired Web workload requires additional functionality that may not be part of the built-in IIS feature set. Or, in some cases, the application may require a customized set of functionality for which the built-in features are not flexible enough. Because all of the IIS 7.0 features are This article uses the following technologies: IIS 7.0, .NET Framework This article discusses: IIS extension points Building a Response Modification module ✥ Adding IIS Manager configuration ✥ Deploying the module ✥ ✥ Mike Volodarsky is a Technical Program Manager on the Web Platform and Tools Team at Microsoft. Over the past four years, he has driven the design and development of the core feature-set for ASP.NET 2.0 and IIS 7.0. He is now focusing on helping customers leverage the power of these technologies in Windows Server 2008.
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.