Skip to content

Commit 98bb246

Browse files
authored
.ConfigureAwait(false) in SignalR client libraries (#39728)
1 parent efe7a23 commit 98bb246

28 files changed

+248
-160
lines changed

AspNetCore.sln

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8804,22 +8804,6 @@ Global
88048804
{E2461809-D2EA-436D-B5C3-8A9EE0A283B8}.Release|x64.Build.0 = Release|Any CPU
88058805
{E2461809-D2EA-436D-B5C3-8A9EE0A283B8}.Release|x86.ActiveCfg = Release|Any CPU
88068806
{E2461809-D2EA-436D-B5C3-8A9EE0A283B8}.Release|x86.Build.0 = Release|Any CPU
8807-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
8808-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
8809-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Debug|arm64.ActiveCfg = Debug|Any CPU
8810-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Debug|arm64.Build.0 = Debug|Any CPU
8811-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Debug|x64.ActiveCfg = Debug|Any CPU
8812-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Debug|x64.Build.0 = Debug|Any CPU
8813-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Debug|x86.ActiveCfg = Debug|Any CPU
8814-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Debug|x86.Build.0 = Debug|Any CPU
8815-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
8816-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Release|Any CPU.Build.0 = Release|Any CPU
8817-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Release|arm64.ActiveCfg = Release|Any CPU
8818-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Release|arm64.Build.0 = Release|Any CPU
8819-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Release|x64.ActiveCfg = Release|Any CPU
8820-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Release|x64.Build.0 = Release|Any CPU
8821-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Release|x86.ActiveCfg = Release|Any CPU
8822-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1}.Release|x86.Build.0 = Release|Any CPU
88238807
{C1CDD339-B51B-42BE-99F2-F39A4EC0D404}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
88248808
{C1CDD339-B51B-42BE-99F2-F39A4EC0D404}.Debug|Any CPU.Build.0 = Debug|Any CPU
88258809
{C1CDD339-B51B-42BE-99F2-F39A4EC0D404}.Debug|arm64.ActiveCfg = Debug|Any CPU
@@ -10174,9 +10158,6 @@ Global
1017410158
{60B11F05-CA3B-4AD1-BAC1-912C19D37395} = {59ECEDFE-72E7-495D-BECB-784B0018544E}
1017510159
{5FE1FBC1-8CE3-4355-9866-44FE1307C5F1} = {60D51C98-2CC0-40DF-B338-44154EFEE2FF}
1017610160
{8DE6625B-C9E4-4949-A75C-89E3FF556724} = {5FE1FBC1-8CE3-4355-9866-44FE1307C5F1}
10177-
{9E6FF2AC-6424-49A5-8189-623FFB2A9B4C} = {60D51C98-2CC0-40DF-B338-44154EFEE2FF}
10178-
{BE5D6903-34B9-4C29-85A2-811A7EA06DAF} = {9E6FF2AC-6424-49A5-8189-623FFB2A9B4C}
10179-
{F3F89B56-66A9-4EBC-8658-80785827237E} = {9E6FF2AC-6424-49A5-8189-623FFB2A9B4C}
1018010161
{0CE1CC26-98CE-4022-A81C-E32AAFC9B819} = {60D51C98-2CC0-40DF-B338-44154EFEE2FF}
1018110162
{6276A9A0-791B-49C1-AD8F-50AC47CDC196} = {0CE1CC26-98CE-4022-A81C-E32AAFC9B819}
1018210163
{B81C7FA1-870F-4F21-A928-A5BE18754E6E} = {6276A9A0-791B-49C1-AD8F-50AC47CDC196}
@@ -10658,7 +10639,6 @@ Global
1065810639
{E83B0BCC-A8E0-4FBD-BE51-9A533C9CB972} = {DFC4F588-B4B4-484B-AB93-B36721374AD3}
1065910640
{5D6F99C5-D292-4459-B8BD-8E4AD42E1B21} = {E83B0BCC-A8E0-4FBD-BE51-9A533C9CB972}
1066010641
{E2461809-D2EA-436D-B5C3-8A9EE0A283B8} = {7D2B0799-A634-42AC-AE77-5D167BA51389}
10661-
{CAFD1885-B87B-4A7A-8BE6-86B0C238C2B1} = {5FE1FBC1-8CE3-4355-9866-44FE1307C5F1}
1066210642
{C1CDD339-B51B-42BE-99F2-F39A4EC0D404} = {BB3D6EDD-AE71-4D25-B61B-7EBF7A1BA1D1}
1066310643
{BB3D6EDD-AE71-4D25-B61B-7EBF7A1BA1D1} = {1A304CA0-7795-4684-88E5-E66402966927}
1066410644
{399EF81E-C3B5-4D86-8BF1-DC7926252A63} = {05A169C7-4F20-4516-B10A-B13C5649D346}

src/SignalR/SignalR.slnf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"src\\DataProtection\\Abstractions\\src\\Microsoft.AspNetCore.DataProtection.Abstractions.csproj",
66
"src\\DataProtection\\Cryptography.Internal\\src\\Microsoft.AspNetCore.Cryptography.Internal.csproj",
77
"src\\DataProtection\\DataProtection\\src\\Microsoft.AspNetCore.DataProtection.csproj",
8+
"src\\Extensions\\Features\\src\\Microsoft.Extensions.Features.csproj",
89
"src\\FileProviders\\Embedded\\src\\Microsoft.Extensions.FileProviders.Embedded.csproj",
910
"src\\Hosting\\Abstractions\\src\\Microsoft.AspNetCore.Hosting.Abstractions.csproj",
1011
"src\\Hosting\\Hosting\\src\\Microsoft.AspNetCore.Hosting.csproj",
@@ -13,7 +14,6 @@
1314
"src\\Hosting\\TestHost\\src\\Microsoft.AspNetCore.TestHost.csproj",
1415
"src\\Http\\Authentication.Abstractions\\src\\Microsoft.AspNetCore.Authentication.Abstractions.csproj",
1516
"src\\Http\\Authentication.Core\\src\\Microsoft.AspNetCore.Authentication.Core.csproj",
16-
"src\\Extensions\\Features\\src\\Microsoft.Extensions.Features.csproj",
1717
"src\\Http\\Headers\\src\\Microsoft.Net.Http.Headers.csproj",
1818
"src\\Http\\Http.Abstractions\\src\\Microsoft.AspNetCore.Http.Abstractions.csproj",
1919
"src\\Http\\Http.Extensions\\src\\Microsoft.AspNetCore.Http.Extensions.csproj",
@@ -40,8 +40,8 @@
4040
"src\\Servers\\Kestrel\\Core\\src\\Microsoft.AspNetCore.Server.Kestrel.Core.csproj",
4141
"src\\Servers\\Kestrel\\Kestrel\\src\\Microsoft.AspNetCore.Server.Kestrel.csproj",
4242
"src\\Servers\\Kestrel\\Transport.Sockets\\src\\Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.csproj",
43-
"src\\SignalR\\clients\\csharp\\Client.SourceGenerator\\src\\Microsoft.AspNetCore.SignalR.Client.SourceGenerator.csproj",
4443
"src\\SignalR\\clients\\csharp\\Client.Core\\src\\Microsoft.AspNetCore.SignalR.Client.Core.csproj",
44+
"src\\SignalR\\clients\\csharp\\Client.SourceGenerator\\src\\Microsoft.AspNetCore.SignalR.Client.SourceGenerator.csproj",
4545
"src\\SignalR\\clients\\csharp\\Client\\src\\Microsoft.AspNetCore.SignalR.Client.csproj",
4646
"src\\SignalR\\clients\\csharp\\Client\\test\\FunctionalTests\\Microsoft.AspNetCore.SignalR.Client.FunctionalTests.csproj",
4747
"src\\SignalR\\clients\\csharp\\Client\\test\\UnitTests\\Microsoft.AspNetCore.SignalR.Client.Tests.csproj",
@@ -73,4 +73,4 @@
7373
"src\\WebEncoders\\src\\Microsoft.Extensions.WebEncoders.csproj"
7474
]
7575
}
76-
}
76+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[*.{cs,vb}]
2+
3+
# CA2007: Consider calling ConfigureAwait on the awaited task
4+
dotnet_diagnostic.CA2007.severity = warning

0 commit comments

Comments
 (0)