I have a large set of data and it could vary in size. I ran into an error with MaxJsonLength when the data was serialised and passed to JS from C#.
I found a fix here and it works fine. But i'm curious to if it's bad to set the number too high? There is obviously a reason it defaults to 102400 (100k).
Would it be possible for me to find out the rough size of my data in JavaScriptSerializer string length, so i could bring the number in the config file down?
Thanks