asp.net - Can't serve text through HTML file in .NET 4 -


I am trying to verify my website Google (applications and webmasters), and one such way to do this This is a plain text HTML file (specific name and specific text) under IIS 7 / .NET 2.0 / 3.0 / 3.5 to upload. Now I've switched to Net 4 and it seems that ASP.Net is fooling me.

When I browse .html files (with plain text), then I get an empty response (no text). If I & lt; Html & gt; To get the file header, I then get the correct response by linking it with a secure mile script (attached by ASP.Net).

Is Web.Cong any way to get ASP.NET to ignore .html files?


Comments