JsonValueProviderFactory throws “request too large”

前端 未结 3 793
长发绾君心
长发绾君心 2020-11-29 05:25

I\'m getting an exception that the JSON request was too large to be deserialized.

It\'s coming from the JsonValueProviderFactory....

The MVC App currently

3条回答
  •  眼角桃花
    2020-11-29 05:45

    The above suggestions didn't work for me until I tried this:

    // Global.asax.cs    
    protected void Application_Start() {
        MiniProfiler.Settings.MaxJsonResponseSize = int.MaxValue;
    }
    

提交回复
热议问题