From d151556a0a39d2d8525597045e2e2725d5e33d70 Mon Sep 17 00:00:00 2001 From: Matthew Fortunka <1851394+fortunkam@users.noreply.github.com> Date: Mon, 16 Jun 2025 11:58:45 +0100 Subject: [PATCH 1/4] Update packages and base to .net 9 --- .../Client/QuizExperiment.Admin.Client.csproj | 30 +++++++++---------- .../Server/QuizExperiment.Admin.Server.csproj | 20 ++++++------- .../QuizExperiment.Models.Test.csproj | 16 ++++++---- .../QuizExperiment.Models.csproj | 2 +- 4 files changed, 37 insertions(+), 31 deletions(-) diff --git a/QuizExperiment.Admin/Client/QuizExperiment.Admin.Client.csproj b/QuizExperiment.Admin/Client/QuizExperiment.Admin.Client.csproj index 40d49c4..9703cfa 100644 --- a/QuizExperiment.Admin/Client/QuizExperiment.Admin.Client.csproj +++ b/QuizExperiment.Admin/Client/QuizExperiment.Admin.Client.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable @@ -15,22 +15,22 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + - + diff --git a/QuizExperiment.Admin/Server/QuizExperiment.Admin.Server.csproj b/QuizExperiment.Admin/Server/QuizExperiment.Admin.Server.csproj index 54355c5..98a35bb 100644 --- a/QuizExperiment.Admin/Server/QuizExperiment.Admin.Server.csproj +++ b/QuizExperiment.Admin/Server/QuizExperiment.Admin.Server.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable 76300706-4b0d-4319-b028-9342e56ad398 @@ -21,19 +21,19 @@ - + - + - - + + - - - + + + - - + + diff --git a/QuizExperiment.Models.Test/QuizExperiment.Models.Test.csproj b/QuizExperiment.Models.Test/QuizExperiment.Models.Test.csproj index 722dde0..a07bc20 100644 --- a/QuizExperiment.Models.Test/QuizExperiment.Models.Test.csproj +++ b/QuizExperiment.Models.Test/QuizExperiment.Models.Test.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable @@ -10,12 +10,18 @@ - - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/QuizExperiment.Models/QuizExperiment.Models.csproj b/QuizExperiment.Models/QuizExperiment.Models.csproj index 6d0c7e5..1ec51ff 100644 --- a/QuizExperiment.Models/QuizExperiment.Models.csproj +++ b/QuizExperiment.Models/QuizExperiment.Models.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable From cf636de284df0524dcea56269d6ebc5da1a7fdde Mon Sep 17 00:00:00 2001 From: Matthew Fortunka <1851394+fortunkam@users.noreply.github.com> Date: Mon, 16 Jun 2025 12:01:05 +0100 Subject: [PATCH 2/4] updated runtime version --- Env/main.bicep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Env/main.bicep b/Env/main.bicep index 9a8c1db..e270710 100644 --- a/Env/main.bicep +++ b/Env/main.bicep @@ -15,8 +15,8 @@ param workbookName string = '5ebb021f-9af7-4d88-8a01-4e1e1ab81402' param location string = resourceGroup().location @description('The Runtime stack of current web app') -param linuxFxVersion string = 'DOTNETCORE|8.0' -param linuxFxBetaVersion string = 'DOTNETCORE|8.0' +param linuxFxVersion string = 'DOTNET-ISOLATED|9.0' +param linuxFxBetaVersion string = 'DOTNET-ISOLATED|9.0' @secure() param giphyApiKey string From 89ff148f108acedaf1bc5cf14357147c9569e78d Mon Sep 17 00:00:00 2001 From: Matthew Fortunka <1851394+fortunkam@users.noreply.github.com> Date: Mon, 16 Jun 2025 12:02:58 +0100 Subject: [PATCH 3/4] update .net version --- Env/main.bicep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Env/main.bicep b/Env/main.bicep index e270710..4a85092 100644 --- a/Env/main.bicep +++ b/Env/main.bicep @@ -15,8 +15,8 @@ param workbookName string = '5ebb021f-9af7-4d88-8a01-4e1e1ab81402' param location string = resourceGroup().location @description('The Runtime stack of current web app') -param linuxFxVersion string = 'DOTNET-ISOLATED|9.0' -param linuxFxBetaVersion string = 'DOTNET-ISOLATED|9.0' +param linuxFxVersion string = 'DOTNETCORE|9.0' +param linuxFxBetaVersion string = 'DOTNETCORE|9.0' @secure() param giphyApiKey string From 0d4baa9954308cb3e9d909f2f2d794ef9a65b818 Mon Sep 17 00:00:00 2001 From: Matthew Fortunka <1851394+fortunkam@users.noreply.github.com> Date: Mon, 16 Jun 2025 12:06:45 +0100 Subject: [PATCH 4/4] fixed .net version --- .github/workflows/build_and_deploy_application.yml | 2 +- .github/workflows/build_and_deploy_beta_application.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_deploy_application.yml b/.github/workflows/build_and_deploy_application.yml index e9e59b6..c77be28 100644 --- a/.github/workflows/build_and_deploy_application.yml +++ b/.github/workflows/build_and_deploy_application.yml @@ -27,7 +27,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/build_and_deploy_beta_application.yml b/.github/workflows/build_and_deploy_beta_application.yml index e1026eb..df105a3 100644 --- a/.github/workflows/build_and_deploy_beta_application.yml +++ b/.github/workflows/build_and_deploy_beta_application.yml @@ -24,7 +24,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore - name: Build