Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 在ASP MVC 3 RC和.NET 4中使用request.Unvalidated()验证请求_Asp.net_.net_Asp.net Mvc_.net 4.0 - Fatal编程技术网

Asp.net 在ASP MVC 3 RC和.NET 4中使用request.Unvalidated()验证请求

Asp.net 在ASP MVC 3 RC和.NET 4中使用request.Unvalidated()验证请求,asp.net,.net,asp.net-mvc,.net-4.0,Asp.net,.net,Asp.net Mvc,.net 4.0,我有如下相同的问题: 我试图添加对System.Web.Helpersdll的引用,并在我的控制器中添加了一个usingSystem.Web.Helpers,但它不接受Unvalidated()作为请求下的方法。我正在使用.NET 4和MVC 3 RC。扩展方法是在System.Web.WebPages.dll程序集中定义的,而不是System.Web.Helpers.dll(但仍在System.Web.Helpers命名空间中) 很抱歉给你带来了困惑

我有如下相同的问题:

我试图添加对
System.Web.Helpers
dll的引用,并在我的控制器中添加了一个using
System.Web.Helpers
,但它不接受
Unvalidated()
作为
请求下的方法。我正在使用.NET 4和MVC 3 RC。

扩展方法是在
System.Web.WebPages.dll
程序集中定义的,而不是
System.Web.Helpers.dll
(但仍在
System.Web.Helpers
命名空间中)

很抱歉给你带来了困惑