I would like to set the default content type for web pages in an ASP.NET MVC application for text / html.
I know this can be done by adding ContentType = "text / html" to all my <% pages%>, but I would rather use web.config instead. How can i do this?
Thanks,
Adrian
Edit: I know that โtext / HTMLโ is the default ASP.NET standard, but for unknown reasons, Opera is still trying to parse my website as XHML unless I explicitly set the content type to my <% Page%> .
Adrian grigore
source share