title: I can't turn off Request Validation for an ASP.NET MVC Controller
body: <p>I am trying to turn off Request Validation for all action methods in a controller by doing this:</p>
  <pre><code>[ValidateInput(false)]
  public class MyController : Controller
  {
      ...
  </code></pre>
  <p>The reference I am using says this is possible and tells me to do it this way, but for some reason it's not working.</p>
  <p>If I submit any html (even a simple &lt;b&gt; tag) through a text box, I get the error:</p>
  <blockquote>
  <p>A potentially dangerous Request.Form value was detected from the client (text=&lt;b&gt;&quot;).</p>
  </blockquote>
  <p>It's also not working by attaching the attribute to an individual method.</p>
  <p>How can I disable Request Validation for a controller?</p>
  <h1>EDIT</h1>
  <p>I am working in VS2008 built in test server.</p>