ToDataSourceResultAsync is not actually Async #8086
Labels
Enhancement
FP: Unplanned
Sync status with associated Feedback Item
S: Wrappers (ASP.NET Core)
S: Wrappers (ASP.NET MVC)
In the example below, "products" is actually a
DbSet<Product>
:Under the hood the
ToDataSourceResultAsync
call is executed insideTask.Run()
.And that
Task.Run
is calling sync methods ofIQueryable
which means EntityframeworkCore queries are not taking place with async I/OThe text was updated successfully, but these errors were encountered: