From 1f9598bf3e59dce46d13b0897f87c61105f67d84 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 20 Nov 2026 16:19:45 -0800 Subject: [PATCH 1/7] Bump MessagePack to 3.1.12 for CVE-2026-92707 --- .../IntelliTect.AspNetCore.SignalR.SqlServer.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj b/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj index 11780bb..385b259 100644 --- a/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj +++ b/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj @@ -15,7 +15,7 @@ - + From e49372c3a6115425aa64539995282a53554c5766 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 20 Nov 2026 16:22:20 -0800 Subject: [PATCH 2/7] Fix remaining vulnerable package references --- demo/DemoServer.AppHost/DemoServer.AppHost.csproj | 4 ++-- .../IntelliTect.AspNetCore.SignalR.SqlServer.csproj | 2 -- .../IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/demo/DemoServer.AppHost/DemoServer.AppHost.csproj b/demo/DemoServer.AppHost/DemoServer.AppHost.csproj index 4417df3..e3b38ed 100644 --- a/demo/DemoServer.AppHost/DemoServer.AppHost.csproj +++ b/demo/DemoServer.AppHost/DemoServer.AppHost.csproj @@ -1,6 +1,6 @@ - + Exe @@ -11,7 +11,7 @@ - + diff --git a/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj b/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj index 385b259..3c2f3e3 100644 --- a/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj +++ b/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj @@ -13,8 +13,6 @@ - - diff --git a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj index a19e17c..b4aa232 100644 --- a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj +++ b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj @@ -6,7 +6,7 @@ - + From 9e34bdb6b9bd6ead16dad1e0e4bf0450478008d4 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 20 Nov 2026 16:26:38 -0800 Subject: [PATCH 3/7] Target net8.0, net10.0, net11.0; update Aspire to 17 --- .github/workflows/ci.yml | 3 ++- .github/workflows/release.yml | 3 ++- demo/DemoServer.AppHost/DemoServer.AppHost.csproj | 6 +++--- demo/DemoServer/DemoServer.csproj | 2 +- .../IntelliTect.AspNetCore.SignalR.SqlServer.csproj | 2 +- .../IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj | 2 +- .../SqlServerEndToEndTests.cs | 5 +++-- 7 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59f5f37..93318b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,8 @@ jobs: with: dotnet-version: | 8.0.x - 9.0.x + 10.0.x + 11.0.x include-prerelease: true - name: Build run: dotnet build --configuration Release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfc117c..90e6816 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,8 @@ jobs: with: dotnet-version: | 8.0.x - 9.0.x + 10.0.x + 11.0.x include-prerelease: true - name: Set VERSION run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV diff --git a/demo/DemoServer.AppHost/DemoServer.AppHost.csproj b/demo/DemoServer.AppHost/DemoServer.AppHost.csproj index e3b38ed..dbdb2f5 100644 --- a/demo/DemoServer.AppHost/DemoServer.AppHost.csproj +++ b/demo/DemoServer.AppHost/DemoServer.AppHost.csproj @@ -1,17 +1,17 @@ - + Exe - net9.0 + net10.0 enable enable 9587d5d1-fe59-4d28-9159-32313b3a4f87 - + diff --git a/demo/DemoServer/DemoServer.csproj b/demo/DemoServer/DemoServer.csproj index 3197b8b..6ce3bf1 100644 --- a/demo/DemoServer/DemoServer.csproj +++ b/demo/DemoServer/DemoServer.csproj @@ -3,7 +3,7 @@ false false - net9.0 + net10.0 diff --git a/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj b/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj index 3c2f3e3..ea22b0d 100644 --- a/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj +++ b/src/IntelliTect.AspNetCore.SignalR.SqlServer/IntelliTect.AspNetCore.SignalR.SqlServer.csproj @@ -1,7 +1,7 @@  - net8.0;net9.0 + net8.0;net10.0;net11.0 true README.md diff --git a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj index b4aa232..ba2a472 100644 --- a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj +++ b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj @@ -1,7 +1,7 @@  - net8.0 + net8.0;net10.0;net11.0 false diff --git a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/SqlServerEndToEndTests.cs b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/SqlServerEndToEndTests.cs index 5a9fdeb..1d3365f 100644 --- a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/SqlServerEndToEndTests.cs +++ b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/SqlServerEndToEndTests.cs @@ -14,8 +14,9 @@ namespace IntelliTect.AspNetCore.SignalR.SqlServer.Tests { public class SqlServerEndToEndTests { - private const string databaseName = "SignalRUnitTestsDb"; - private const string connectionString = + // Per-runtime database: each target framework's test run executes in parallel. + private static readonly string databaseName = "SignalRUnitTestsDb_net" + Environment.Version.Major; + private static readonly string connectionString = "Server=localhost;Database=" + databaseName + ";Trusted_Connection=True;Timeout=5;TrustServerCertificate=True"; [SkippableFact] From 31774e05062d5d5e1806f8b575bb3eb3e451e4e8 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 20 Nov 2026 16:30:43 -0800 Subject: [PATCH 4/7] Migrate demo AppHost off the obsolete Aspire.AppHost.Sdk --- demo/DemoServer.AppHost/AppHost.cs | 2 +- demo/DemoServer.AppHost/DemoServer.AppHost.csproj | 7 +------ demo/DemoServer/DemoServer.csproj | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/demo/DemoServer.AppHost/AppHost.cs b/demo/DemoServer.AppHost/AppHost.cs index f19eedc..f855ca8 100644 --- a/demo/DemoServer.AppHost/AppHost.cs +++ b/demo/DemoServer.AppHost/AppHost.cs @@ -1,6 +1,6 @@ var builder = DistributedApplication.CreateBuilder(args); -builder.AddProject("demoserver") +builder.AddDotnetProject("demoserver", "../DemoServer/DemoServer.csproj") .WithExternalHttpEndpoints(); builder.Build().Run(); diff --git a/demo/DemoServer.AppHost/DemoServer.AppHost.csproj b/demo/DemoServer.AppHost/DemoServer.AppHost.csproj index dbdb2f5..d714fe5 100644 --- a/demo/DemoServer.AppHost/DemoServer.AppHost.csproj +++ b/demo/DemoServer.AppHost/DemoServer.AppHost.csproj @@ -1,7 +1,5 @@ - - Exe net10.0 @@ -12,10 +10,7 @@ - - - - + diff --git a/demo/DemoServer/DemoServer.csproj b/demo/DemoServer/DemoServer.csproj index 6ce3bf1..56003b6 100644 --- a/demo/DemoServer/DemoServer.csproj +++ b/demo/DemoServer/DemoServer.csproj @@ -3,7 +3,7 @@ false false - net10.0 + net10.0 From f1d23e95ce9e5e0da15f59390a5264b47698645b Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 20 Nov 2026 16:31:24 -0800 Subject: [PATCH 5/7] Migrate solution to slnx --- IntelliTect.AspNetCore.SignalR.SqlServer.sln | 114 ------------------ IntelliTect.AspNetCore.SignalR.SqlServer.slnx | 19 +++ 2 files changed, 19 insertions(+), 114 deletions(-) delete mode 100644 IntelliTect.AspNetCore.SignalR.SqlServer.sln create mode 100644 IntelliTect.AspNetCore.SignalR.SqlServer.slnx diff --git a/IntelliTect.AspNetCore.SignalR.SqlServer.sln b/IntelliTect.AspNetCore.SignalR.SqlServer.sln deleted file mode 100644 index f5c1467..0000000 --- a/IntelliTect.AspNetCore.SignalR.SqlServer.sln +++ /dev/null @@ -1,114 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.4.33103.184 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "demo", "demo", "{62241700-24B6-4D13-A183-2502D628ED43}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{21874FF3-BE97-4F3B-AD63-EC347FF757FF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IntelliTect.AspNetCore.SignalR.SqlServer", "src\IntelliTect.AspNetCore.SignalR.SqlServer\IntelliTect.AspNetCore.SignalR.SqlServer.csproj", "{62E576F6-E0F9-43AC-848E-97E7E93E4EF0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DemoServer", "demo\DemoServer\DemoServer.csproj", "{FACCC87C-37E3-4095-9997-75EE3C54CD49}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{CA676E97-11D2-4D19-96DA-2B66392A05D5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IntelliTect.AspNetCore.SignalR.SqlServer.Tests", "test\IntelliTect.AspNetCore.SignalR.SqlServer.Tests\IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj", "{468B17AA-5509-481D-884E-145978311BBA}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DemoBlazorServer", "demo\DemoBlazorServer\DemoBlazorServer.csproj", "{888FC3BC-2589-4A5F-8235-5737053065A6}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0E5DD0E2-915F-4A3C-BD6A-6AA256EB1339}" - ProjectSection(SolutionItems) = preProject - .github\workflows\ci.yml = .github\workflows\ci.yml - Directory.Build.props = Directory.Build.props - README.md = README.md - .github\workflows\release.yml = .github\workflows\release.yml - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DemoServer.AppHost", "demo\DemoServer.AppHost\DemoServer.AppHost.csproj", "{CBE8C773-5F08-438B-8970-278F4EF1333E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Debug|x64.ActiveCfg = Debug|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Debug|x64.Build.0 = Debug|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Debug|x86.ActiveCfg = Debug|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Debug|x86.Build.0 = Debug|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Release|Any CPU.Build.0 = Release|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Release|x64.ActiveCfg = Release|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Release|x64.Build.0 = Release|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Release|x86.ActiveCfg = Release|Any CPU - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0}.Release|x86.Build.0 = Release|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Debug|x64.ActiveCfg = Debug|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Debug|x64.Build.0 = Debug|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Debug|x86.ActiveCfg = Debug|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Debug|x86.Build.0 = Debug|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Release|Any CPU.Build.0 = Release|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Release|x64.ActiveCfg = Release|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Release|x64.Build.0 = Release|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Release|x86.ActiveCfg = Release|Any CPU - {FACCC87C-37E3-4095-9997-75EE3C54CD49}.Release|x86.Build.0 = Release|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Debug|x64.ActiveCfg = Debug|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Debug|x64.Build.0 = Debug|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Debug|x86.ActiveCfg = Debug|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Debug|x86.Build.0 = Debug|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Release|Any CPU.Build.0 = Release|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Release|x64.ActiveCfg = Release|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Release|x64.Build.0 = Release|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Release|x86.ActiveCfg = Release|Any CPU - {468B17AA-5509-481D-884E-145978311BBA}.Release|x86.Build.0 = Release|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Debug|x64.ActiveCfg = Debug|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Debug|x64.Build.0 = Debug|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Debug|x86.ActiveCfg = Debug|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Debug|x86.Build.0 = Debug|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Release|Any CPU.Build.0 = Release|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Release|x64.ActiveCfg = Release|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Release|x64.Build.0 = Release|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Release|x86.ActiveCfg = Release|Any CPU - {888FC3BC-2589-4A5F-8235-5737053065A6}.Release|x86.Build.0 = Release|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Debug|x64.ActiveCfg = Debug|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Debug|x64.Build.0 = Debug|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Debug|x86.ActiveCfg = Debug|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Debug|x86.Build.0 = Debug|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Release|Any CPU.Build.0 = Release|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Release|x64.ActiveCfg = Release|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Release|x64.Build.0 = Release|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Release|x86.ActiveCfg = Release|Any CPU - {CBE8C773-5F08-438B-8970-278F4EF1333E}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {62E576F6-E0F9-43AC-848E-97E7E93E4EF0} = {21874FF3-BE97-4F3B-AD63-EC347FF757FF} - {FACCC87C-37E3-4095-9997-75EE3C54CD49} = {62241700-24B6-4D13-A183-2502D628ED43} - {468B17AA-5509-481D-884E-145978311BBA} = {CA676E97-11D2-4D19-96DA-2B66392A05D5} - {888FC3BC-2589-4A5F-8235-5737053065A6} = {62241700-24B6-4D13-A183-2502D628ED43} - {CBE8C773-5F08-438B-8970-278F4EF1333E} = {62241700-24B6-4D13-A183-2502D628ED43} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {41DEFC27-E139-4A35-989F-DA872E4B9F0A} - EndGlobalSection -EndGlobal diff --git a/IntelliTect.AspNetCore.SignalR.SqlServer.slnx b/IntelliTect.AspNetCore.SignalR.SqlServer.slnx new file mode 100644 index 0000000..1aa2ced --- /dev/null +++ b/IntelliTect.AspNetCore.SignalR.SqlServer.slnx @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + From e654c2c33bdf259c989f99a771db43430d233b38 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 20 Nov 2026 16:34:15 -0800 Subject: [PATCH 6/7] Update workflow actions, test stack (xunit v3 on MTP), and demo packages; drop LangVersion pin --- .github/workflows/ci.yml | 5 ++--- .github/workflows/release.yml | 7 +++---- Directory.Build.props | 1 - demo/DemoBlazorServer/DemoBlazorServer.csproj | 4 ++-- demo/DemoServer/DemoServer.csproj | 10 +++++----- global.json | 5 +++++ ...t.AspNetCore.SignalR.SqlServer.Tests.csproj | 13 ++----------- .../SqlServerEndToEndTests.cs | 18 +++++++++--------- 8 files changed, 28 insertions(+), 35 deletions(-) create mode 100644 global.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93318b8..9cdb147 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,15 +11,14 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v7 - name: Install .NET SDK - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v6 with: dotnet-version: | 8.0.x 10.0.x 11.0.x - include-prerelease: true - name: Build run: dotnet build --configuration Release - name: Test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90e6816..d444980 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,17 +10,16 @@ jobs: contents: write steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Install .NET SDK - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v6 with: dotnet-version: | 8.0.x 10.0.x 11.0.x - include-prerelease: true - name: Set VERSION run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV - name: Build @@ -40,7 +39,7 @@ jobs: run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ steps.login.outputs.NUGET_API_KEY }} - name: Create GH Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v3 with: files: | *.nupkg diff --git a/Directory.Build.props b/Directory.Build.props index 1559180..112b456 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,5 @@ - 12.0 IntelliTect enable enable diff --git a/demo/DemoBlazorServer/DemoBlazorServer.csproj b/demo/DemoBlazorServer/DemoBlazorServer.csproj index 0422694..3659184 100644 --- a/demo/DemoBlazorServer/DemoBlazorServer.csproj +++ b/demo/DemoBlazorServer/DemoBlazorServer.csproj @@ -1,11 +1,11 @@ - net8.0 + net10.0 - + diff --git a/demo/DemoServer/DemoServer.csproj b/demo/DemoServer/DemoServer.csproj index 56003b6..df3022b 100644 --- a/demo/DemoServer/DemoServer.csproj +++ b/demo/DemoServer/DemoServer.csproj @@ -7,12 +7,12 @@ - + - - - - + + + + diff --git a/global.json b/global.json new file mode 100644 index 0000000..3140116 --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "test": { + "runner": "Microsoft.Testing.Platform" + } +} diff --git a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj index ba2a472..5c6a3d1 100644 --- a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj +++ b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj @@ -2,22 +2,13 @@ net8.0;net10.0;net11.0 + Exe false - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - + diff --git a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/SqlServerEndToEndTests.cs b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/SqlServerEndToEndTests.cs index 1d3365f..ff4ba0f 100644 --- a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/SqlServerEndToEndTests.cs +++ b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/SqlServerEndToEndTests.cs @@ -19,7 +19,7 @@ public class SqlServerEndToEndTests private static readonly string connectionString = "Server=localhost;Database=" + databaseName + ";Trusted_Connection=True;Timeout=5;TrustServerCertificate=True"; - [SkippableFact] + [Fact] public async Task CanSendAndReceivePayloads_WithServiceBroker() { await CreateDatabaseAsync(); @@ -35,7 +35,7 @@ public async Task CanSendAndReceivePayloads_WithServiceBroker() await RunCore(options, prefix); } - [SkippableFact] + [Fact] public async Task CanSendAndReceivePayloads_WithPolling() { await CreateDatabaseAsync(); @@ -51,7 +51,7 @@ public async Task CanSendAndReceivePayloads_WithPolling() } - [SkippableFact] + [Fact] public async Task CanSendAndReceivePayloads_WithServiceBroker_UnderHeavyLoad() { await CreateDatabaseAsync(); @@ -75,7 +75,7 @@ public async Task CanSendAndReceivePayloads_WithServiceBroker_UnderHeavyLoad() return Task.CompletedTask; }); // Give the receiver time to reach a steady state (waiting). - await Task.Delay(150); + await Task.Delay(150, TestContext.Current.CancellationToken); var cts = new CancellationTokenSource(); @@ -102,11 +102,11 @@ public async Task CanSendAndReceivePayloads_WithServiceBroker_UnderHeavyLoad() var payload = new byte[255]; new Random().NextBytes(payload); - await Task.Delay(10000); + await Task.Delay(10000, TestContext.Current.CancellationToken); cts.Cancel(); // Give the receiver time to reach a steady state (waiting). - await Task.Delay(1000); + await Task.Delay(1000, TestContext.Current.CancellationToken); Assert.Equal(numSent, receivedMessages.Count); @@ -130,7 +130,7 @@ private async Task RunCore(SqlServerOptions options, string prefix) return Task.CompletedTask; }); // Give the receiver time to reach a steady state (waiting). - await Task.Delay(150); + await Task.Delay(150, TestContext.Current.CancellationToken); var payload = new byte[255]; new Random().NextBytes(payload); @@ -141,7 +141,7 @@ private async Task RunCore(SqlServerOptions options, string prefix) Assert.Equal(payload, message); // Give the receiver time to reach a steady state (waiting). - await Task.Delay(50); + await Task.Delay(50, TestContext.Current.CancellationToken); receiver.Dispose(); await receiverTask; @@ -164,7 +164,7 @@ private static async Task CreateDatabaseAsync() || ex.Message.Contains("The server was not found or was not accessible") ) { - Skip.If(true, ex.Message); + Assert.Skip(ex.Message); } } } From 51203934008a8d6e305d3bbdba128ef1f4d1597c Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 20 Nov 2026 16:38:42 -0800 Subject: [PATCH 7/7] Run xunit v3 tests on VSTest instead of Microsoft.Testing.Platform --- global.json | 5 ----- ...elliTect.AspNetCore.SignalR.SqlServer.Tests.csproj | 11 ++++++++++- 2 files changed, 10 insertions(+), 6 deletions(-) delete mode 100644 global.json diff --git a/global.json b/global.json deleted file mode 100644 index 3140116..0000000 --- a/global.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "test": { - "runner": "Microsoft.Testing.Platform" - } -} diff --git a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj index 5c6a3d1..4666a16 100644 --- a/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj +++ b/test/IntelliTect.AspNetCore.SignalR.SqlServer.Tests/IntelliTect.AspNetCore.SignalR.SqlServer.Tests.csproj @@ -8,7 +8,16 @@ - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all +