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

 

posted @ 2019-07-20 09:55  Insus.NET  阅读(430)  评论(0编辑  收藏