转载

The JSON request was too large to be deserialized

刚才对数据进行批量更新时,收到一条错误信息:The JSON request was too large to be deserialized。

 

 

查找资料,原来json对象数量有限制,得需要在web.config时行配置参数:

 

 <appSettings>    
    <add key="aspnet:MaxJsonDeserializerMembers" value="500000"/>
  </appSettings>
Source Code

 

正文到此结束
本文目录