Thursday, February 20, 2014

API time out when trying to send serialized data if data is more in number

I am working on an API that is connected for a store. Now there are bunch of Items and user base and I have different serializable classes that represent this data.


Issue that I am facing is when I am making a GET call and record count is greater than 5K it take forever time to serializable and hence the GET call is timed out. I have worked out a way around this issue by divide the data in chuck of records if its greater in number but I want to solve this issue. Is there any way that my API can respond to GET request and send all the data in one go.


I have created API in c#.




Ankit Verma


No comments:

Post a Comment