In the past, I've been accustomed to being able to use request validation as a first line of defense for XSS.
However, I don't seem to be able to get the validation to kick in.
<httpRuntime requestValidationMode="4.5"/>
<configuration>
<system.web>
<pages validateRequest="true" />
</system.web>
</configuration>
Regardless of this configuration, errors are not thrown and validation is not being run. Is there some other global way to enable/disable validation that I am missing?