Currently, I am working on integrating Angular 2+ with asp.net Web API. The issue I am facing is related to dealing with a C# DataTable that is being returned to Angular 2+. To do this, I am utilizing the Post method.
The problem arises when I try to retrieve a large amount of data (85K+) from the asp.net Web API. Although the data fetches successfully, I encounter an error stating "System.OutOfMemoryException" in the browser. Consequently, I am unable to receive the data in Angular 2+.
I would appreciate any insights into what may be missing in my implementation and how I can effectively handle fetching all records efficiently in a single request.