Skip to content

Commit 4beff30

Browse files
rojiRick-Anderson
andauthored
Add note on SqlClient async issues (#27747)
* Add note on SqlClient async issues See dotnet/EntityFramework.Docs#4109 * Update aspnetcore/data/ef-rp/intro.md Co-authored-by: Rick Anderson <[email protected]>
1 parent 4303d0b commit 4beff30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

aspnetcore/data/ef-rp/intro.md

+3
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,9 @@ Some things to be aware of when writing asynchronous code that uses EF Core:
518518

519519
For more information about asynchronous programming in .NET, see [Async Overview](/dotnet/standard/async) and [Asynchronous programming with async and await](/dotnet/csharp/programming-guide/concepts/async/).
520520

521+
> [!WARNING]
522+
> The async implementation of [Microsoft.Data.SqlClient](https://github.com/dotnet/SqlClient) has some known issues ([#593](https://github.com/dotnet/SqlClient/issues/593), [#601](https://github.com/dotnet/SqlClient/issues/601), and others). If you're seeing unexpected performance problems, try using sync command execution instead, especially when dealing with large text or binary values.
523+
521524
<!-- Review: See https://github.com/dotnet/AspNetCore.Docs/issues/14528 -->
522525
## Performance considerations
523526

0 commit comments

Comments
 (0)