I using ValidationInput(false) at my Action, but ASP.NET MVC 2 P2 still validating my request. Why? Is it a bug of Preview 2?
Worked. But, by default, ASP.NET no more control this behavior?
Fujiy
2010-01-26 11:05:40
By default in .NET 4, it occurs very early in the pipeline (before any module or handler runs). This means that it can't be disabled by MVC since MVC runs so late. If you revert back to the v2 behavior, MVC can suppress it.One of the advantages of the .NET 4 behavior is that you can customize the particular checks performed by input validation. The whitepaper linked in that answer gives you more information on how to do that.
Levi
2010-01-26 17:37:13