pyrebot

Better not to ignore the past but learn from it instead. Otherwise, history has a way of repeating itself.

博客园 首页 新随笔 联系 订阅 管理

解决MVC中JSON字符长度超出限制的异常

解决方法如下:

1 <configuration> 
2    <system.web.extensions>
3        <scripting>
4            <webServices>
5                <jsonSerialization maxJsonLength="2147483644"/>
6            </webServices>
7        </scripting>
8    </system.web.extensions>
9 </configuration> 
View Code

 

引用:http://stackoverflow.com/questions/4155014/json-asp-net-mvc-maxjsonlength-exception

posted on 2014-05-08 17:50  pyrebot  阅读(304)  评论(0编辑  收藏  举报