Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-mvc/14.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 mvc 如何在ASP.net MVC中将servicePointManager添加到web配置_Asp.net Mvc_Asp.net Mvc 4 - Fatal编程技术网

Asp.net mvc 如何在ASP.net MVC中将servicePointManager添加到web配置

Asp.net mvc 如何在ASP.net MVC中将servicePointManager添加到web配置,asp.net-mvc,asp.net-mvc-4,Asp.net Mvc,Asp.net Mvc 4,我正在尝试将以下行添加到web配置中 <system.net> <settings> <servicePointManager expect100Continue="false" /> </settings> 但它只允许返回一个元素。它必须是根元素的第一个子元素 有谁能为我们提供帮助吗?请在网络配置中尝试此功能,或参考MSDN了解详细信息 try this in webconfig or refer MSDN f

我正在尝试将以下行添加到web配置中

 <system.net>
  <settings>
      <servicePointManager expect100Continue="false" />
  </settings>

但它只允许返回一个元素。它必须是根元素的第一个子元素

有谁能为我们提供帮助吗?

请在网络配置中尝试此功能,或参考MSDN了解详细信息
   try this in webconfig or refer MSDN for details
 <configuration>
     <system.net>
       <settings>
         <servicePointManager
            checkCertificateName="false"
            checkCertificateRevocationList="false"         
         />
      </settings>
    </system.net>
    </configuration> 

然后请在msdn中搜索。它可能包含详细说明。