Another popular question in the newsgroups. This example is targeted for IIS7.
http://blogs.msdn.com/sukeshak/archive/2007/09/05/redirecting-from-http-to-https-in-iis7-http2https-updated.aspx
You may also want to check out a more general module for doing http redirection for ASP.NET apps for IIS6 / all content on IIS7 that I posted here: mvolo.com/.../Redirect-clients-in-your-application-with-HttpRedirection-module.aspx.
This one can do the https redirects as well as any other redirects based on regular expression rules.
Thanks,
Mike
This is the simplest one I've found, and it seems to work quite nicely.
www.ajaxline.com/.../356
Once one sets the 403.4 error for the Server, every project is properly redirected as long as they have that htm file in the Project root. ...A little faster too, because it doesn't involve Server side code.