Skip to content

QuickGrid+EF Core - Multiple concurrent queries trigger InvalidOperationException #34881

@guardrex

Description

@guardrex

UPDATE (3/6) ... If the PU fixes it entirely internally, we can just close this issue because the content to workaround the problem added by #34882 is versioned to drop out at 10.0.

NOTE: In the QuickGrid article, the section titled Multiple concurrent EF Core queries trigger System.InvalidOperationException has had its <10.0 versioning removed. When fixed the framework, drop it out at 11.0 if no new API is to be discussed or no explicit demo component is described.

Description

Per the original report in dotnet/aspnetcore#58669 ...

Use a cancellation token to prevent concurrent queries. A new request triggers cancellation of the previous one.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/blazor/components/quickgrid?view=aspnetcore-9.0&tabs=visual-studio

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/components/quickgrid.md

Document ID

564e71e3-82ed-ce23-4f9f-a00a58734a62

Platform Id

b429ef55-e688-0665-b1f6-28926c46b482

Article author

@guardrex

Metadata

  • ID: 564e71e3-82ed-ce23-4f9f-a00a58734a62
  • PlatformId: b429ef55-e688-0665-b1f6-28926c46b482
  • Service: aspnet-core
  • Sub-service: blazor

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

Status

11.0

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions