Update guidance and upgrade NuGet package versions

Clarified ConfigureAwait(false) usage in copilot-instructions.md for library vs ASP.NET Core scenarios. Upgraded multiple NuGet dependencies in SqlDatabaseVectorSearch.csproj to their latest versions for improved compatibility and features.
This commit is contained in:
Marco Minerva
2026-04-15 12:10:05 +02:00
parent 2b5188aa7c
commit b3ffddeaca
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
- Return `Task` or `ValueTask` from asynchronous methods.
- Use `CancellationToken` parameters to support cancellation.
- Avoid async void methods except for event handlers.
- Call `ConfigureAwait(false)` on awaited calls to avoid deadlocks.
- Use `ConfigureAwait(false)` only in library code that may be consumed by apps with a `SynchronizationContext` (e.g., classic ASP.NET, WPF, WinForms); it is generally unnecessary in ASP.NET Core.
### Error Handling