Angular - Export Controller - Upper limit

Hello,
I am trying to export a larger number of records through the Export method in Angular.
The limit for export is around 8000 rows, it is defined by MaxModelBindingCollectionSize.

It is somehow possible to increase this limit or somehow overcome it?

Generated exception:
System.InvalidOperationException: 'AsyncEnumerableReader' reached the configured maximum size of the buffer when enumerating a value of type 'Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable1[ProductionOrder.Models.Ceps0023.Article]'. 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[ProductionOrder.Models.Ceps0023.Article]' into a list rather than increasing the limit.

Hi @koblamic,

This is .NET 3.1 or .NET 5 app right? The only way to overcome this is to execute ToList() for the IQueryable used in the service method:

If you cannot upgrade your application to .NET6 you can either put this file in application ignore list and modify the code or you can create your own OutputFormatter similar to the one generated by Radzen in server/Data folder: