define('DISALLOW_FILE_EDIT', true); asp.net – unFocus Projects – Kevin Newman and Ken Newman

ResponseEncoding in IIS7 for static html files in web.config

I couldn’t find any way to set ResponseEncoding in IIS7 for static html files in web.config.

The system.web setting using globalization doesn’t seem to fit anywhere in system.webServer like it seems like it should (someone please let me know if there is a way to do that).

Anyway, I did find a way to sort of shove it in there:

[cc lang=’xml’]












[/cc]