Map file extension to ASP.Net

I’m converting a site from static HTML to dynamic ASP.Net but I don’t want to rename every page or worry about dropping in pages in the search engines. So I decided to just map HTML files to the ASP.Net processor. I could have sworn that I had done this before and all I had to do was make the normal IIS setting change ( But that just returned a blank page. The fix is to add a buildProvider and an httpHandler.

        <compilation debug="false">
                <add extension=".html" type="System.Web.Compilation.PageBuildProvider"/>
            <add verb="*" path="*.html" validate="false" type="System.Web.UI.PageHandlerFactory" />