The IIS team have put together IIS.net and about time - IIS has for too long been a dirty word, IIS 6 is the best web server platform I've ever used and IIS 7 is better!
Included on the site is the following Starter kit.
http://www.iis.net/default.aspx?tabid=3&subtabid=31&g=5&i=871
Which is described as follows: -
"This Visual Studio Content Installer contains a project template for building your first IIS7 Module using the .NET Framework. It contains a readme.htm file to help guide you step-by-step through the development and testing process."
What it actually turns out to be is a class file and a 100 line Readme document which explains how to paste the following line into said class file: -
context.Response.Cookies.Add(new HttpCookie( "time", DateTime.Now.ToString() ));
For a moment I got excited and thought I had real sample code ;-)