I am trying to turn off Request Validation for all action methods in a controller by doing this:
[ValidateInput(false)] public class MyController : Controller
Pro ASP.NET MVC Framework (p466) says the following is supposed to work:
public class MyController : Controller { public MyController() { ValidateRequest = false; } }