I have an Angular app, honest , that i am loading customer records from a SQL database on page load. This data is to be used in a paged datagrid. However, when i load the application it throws an unhandled exception error on the data (see below)
InvalidOperationException: 'AsyncEnumerableReader' reached the configured maximum size of the buffer when enumerating a value of type 'Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable
1[ACustomerConsolidation.Models.Cs.VwCustomer]'. This limit is in place to prevent infinite streams of 'IAsyncEnumerable<>' from continuing indefinitely. If this is not a programming mistake, consider ways to reduce the collection size, or consider manually converting 'Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable1[ACustomerConsolidation.Models.Cs.VwCustomer]' into a list rather than increasing the limit.
How do i do this?