Sending Large Data with JSON

On ASP.NET(v 4.0), there is default limit for JSON serialization and if you are exchanging large amount of data over JSON then you need to set the maximum length of JSON which can be sent/received before/after serialization.

Here is the easiest way to set JSON length for serialization code which you can use in web.config file. This example sets the max length to ~2MB.
<jsonSerialization maxJsonLength="2000000">


Popular posts from this blog

Space Character Problem on IE 6, 7, and 8

Does Netflix work on iOS 5 Beta 4?

Configure hosts File in Android