How can I set a default content-type of text/html in my web.config?
- by Adrian Grigore
I'd like to set the default content-type for web pages in my ASP.NET MVC application to text/html.
I know this can be done by adding a ContentType="text/html" to all of my <%Page% elements, but I'd prefer to use the web.config instead. How can I do that?
Thanks,
Adrian