Max length of JSON result to be accessed by a browser for an ios app

Millard Letko

New Member
My web service returns SQL data in JSON format. I call this service from my iOS app. I have two 3 functions in all. First one returns 3000 records. I ran the Uritemplate for this function and i can see the 3000 records. The second and third functions each return 19000 and 27000 records. I add each record into a list and send that in JSON format. But when i access the url in safari/firefox its says "server dropped connection.server busy" message. So i tried to reduce the number of records and around 9300-9400 records is when its failing. I can send 9300 records but in that range it fails. I did this in my web.config\[code\] <system.web> <httpRuntime maxRequestLength="2097151" executionTimeout="45" /> ..... <system.web.extensions><scripting> <webServices> <jsonSerialization maxJsonLength="100000000"/> </webServices></scripting>\[/code\]But neither work. How can i send that much data. I saved the 9300 records to a file and saw it was 397KB. So i am guessing 19000 records would be double..800KB approx. why can i not see those records on my browser? what more can i add to my config file to send that many records. More questions in queue. If you need more information, please ask. Thanks
 
Back
Top