Validate request with Request.Unvalidated() in ASP MVC 3 RC and .NET 4

后端 未结 1 434
甜味超标
甜味超标 2020-12-19 09:32

I have the same problem as below:

ASP.NET MVC 3 ValidateRequest(false) not working with FormCollection

I have tried to add a reference to the System.We

相关标签:
1条回答
  • 2020-12-19 10:23

    The Unvalidated() extension method is defined in the System.Web.WebPages.dll assembly, not System.Web.Helpers.dll (but still in the System.Web.Helpers namespace)

    Sorry for the confusion.

    0 讨论(0)
提交回复
热议问题