当前位置: 移动技术网 > IT编程>开发语言>.net > webapi使用Get进行访问时,url长度被限制解决办法

webapi使用Get进行访问时,url长度被限制解决办法

2020年03月11日  | 移动技术网IT编程  | 我要评论

罗定地图,家悦h1509,未诞生的瓦格里

打开web.config,修改两处。

 

<system.web>
   
    <httpruntime maxurllength="109999" maxquerystringlength="2097151" />
  </system.web>
 <system.webserver>
  
    <security>
      <requestfiltering>
        <requestlimits maxurl="109999" maxquerystring="2097151" />
      </requestfiltering>
    </security>
  </system.webserver>

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网