IIS7 changes that, by allowing modules and handlers to be written using managed code for all types of content. Using the same IHttpModule and IHttpHandler APIs, developers can now write managed code extensions to the Web server which can intercept and serve all types of requests. And best of all, we built the extensibility model to be as compatible as possible with existing ASP.NET extensions. With a few simple configuration changes, your ASP.NET modules and handlers can now work with all types of content.
The JoyOfCode.com guys show off how in their blog post XHTML Validator for All. Using the new IIS7 Admin tool, they wire up their module for a static HTML application. Without a single code change, their XHTML Validator works perfectly with static HTML pages, classic ASP, or even PHP! Check it out!