Skip to content

Commit

Permalink
Add note on SqlClient async issues (#27747)
Browse files Browse the repository at this point in the history
* Add note on SqlClient async issues

See dotnet/EntityFramework.Docs#4109

* Update aspnetcore/data/ef-rp/intro.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
  • Loading branch information
roji and Rick-Anderson authored Nov 28, 2022
1 parent 4303d0b commit 4beff30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aspnetcore/data/ef-rp/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,9 @@ Some things to be aware of when writing asynchronous code that uses EF Core:

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/).

> [!WARNING]
> 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.
<!-- Review: See https://github.com/dotnet/AspNetCore.Docs/issues/14528 -->
## Performance considerations

Expand Down

0 comments on commit 4beff30

Please sign in to comment.