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 am having the API created in C#.