ASP in a .html file under .net 4.0
问题 I'm updating a site from asp.net 2.0 to asp.net 4.0. I'm running IIS 7.0. If I create test.asp and browse to it it works. If I rename the file test.html it will not parse the asp. I need html to be parsed as asp because of the CMS we use. Relevant code from test.html: <% Response.Write ("The time on the server is: " & Time()) %> I think my trouble comes from the way .net 4.0 handles requests. How do I get IIS to parse html as asp? 回答1: You will need to associate the same DLL that currently