dotnet / dotnet/AspNetCore.Docs

QuickGrid+EF Core - Multiple concurrent queries trigger `InvalidOperationException`

Open
#34,881 1 comment 0 reactions 1 assignee Claimed by @guardrex View on GitHub
12.0 aspnet-core/svc Blazor blazor/subsvc doc-enhancement Pri1
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 2h
Merged PRs (30d)
109

Description

### 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 https://github.com/dotnet/aspnetcore/issues/58669 ...

* [PU issue for .NET 10](https://github.com/dotnet/aspnetcore/issues/58716)
* [Blazor movie dB tutorial sample issue](https://github.com/dotnet/blazor-samples/issues/480)

> 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](https://github.com/dotnet/AspNetCore.Docs/issues?q=is%3Aissue+is%3Aopen+564e71e3-82ed-ce23-4f9f-a00a58734a62)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.