diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 240f23c..4d3ff40 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -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 @@ -81,4 +81,4 @@ - Use NSubstitute for mocking in tests. - Copy existing style in nearby files for test method names and capitalization. - When running tests, if possible use filters and check test run counts, or look at test logs, to ensure they actually ran. -- Do not finish work with any tests commented out or disabled that were not previously commented out or disabled. \ No newline at end of file +- Do not finish work with any tests commented out or disabled that were not previously commented out or disabled. diff --git a/src/SimpleAuthentication.Abstractions/SimpleAuthentication.Abstractions.csproj b/src/SimpleAuthentication.Abstractions/SimpleAuthentication.Abstractions.csproj index de54914..024ab07 100644 --- a/src/SimpleAuthentication.Abstractions/SimpleAuthentication.Abstractions.csproj +++ b/src/SimpleAuthentication.Abstractions/SimpleAuthentication.Abstractions.csproj @@ -28,15 +28,15 @@ - + - + - +