From f6fa276212a879dd7f87d45e603919b267bdb3f0 Mon Sep 17 00:00:00 2001 From: Aymen TROUDI Date: Sun, 11 Aug 2024 19:46:08 +0200 Subject: [PATCH] Upgrade to .net 8.0 --- .github/workflows/ci.yml | 6 +++--- README.md | 2 +- src/Example01/Example01.csproj | 4 ++-- src/Example02/Example02.csproj | 4 ++-- src/Example03/Example03.csproj | 4 ++-- src/Example04/Example04.csproj | 4 ++-- src/Example05/Example05.csproj | 4 ++-- src/Example06/Example06.csproj | 4 ++-- src/Example07/Example07.csproj | 4 ++-- src/Example08/Example08.csproj | 4 ++-- test/Example01.Tests/Example01.Tests.csproj | 6 +++--- test/Example02.Tests/Example02.Tests.csproj | 6 +++--- test/Example03.Tests/Example03.Tests.csproj | 6 +++--- test/Example04.Tests/Example04.Tests.csproj | 6 +++--- test/Example05.Tests/Example05.Tests.csproj | 6 +++--- test/Example06.Tests/Example06.Tests.csproj | 4 ++-- test/Example07.Tests/Example07.Tests.csproj | 4 ++-- test/Example08.Tests/Example08.Tests.csproj | 4 ++-- 18 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25f43e7..217f7cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,11 +15,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/README.md b/README.md index 13ed40f..d45e74a 100644 --- a/README.md +++ b/README.md @@ -24,4 +24,4 @@ In this repo, i m using various ways to support basic authentication in web api > > :eight: `Example08` use minimal api with basic authentication based on a custom authentication scheme > -**`Tools`** : net 7.0, web api, integration-testing, fluent-assertions, nsubstitute, xunit +**`Tools`** : net 8.0, web api, integration-testing, fluent-assertions, nsubstitute, xunit diff --git a/src/Example01/Example01.csproj b/src/Example01/Example01.csproj index e9c80a0..8236603 100644 --- a/src/Example01/Example01.csproj +++ b/src/Example01/Example01.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable ApiKeyAuthenticationDemo-UserSecrets - + diff --git a/src/Example02/Example02.csproj b/src/Example02/Example02.csproj index e9dc23d..78e80e3 100644 --- a/src/Example02/Example02.csproj +++ b/src/Example02/Example02.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable ApiKeyAuthenticationDemo-UserSecrets - + diff --git a/src/Example03/Example03.csproj b/src/Example03/Example03.csproj index 37bb1ae..599d68a 100644 --- a/src/Example03/Example03.csproj +++ b/src/Example03/Example03.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable ApiKeyAuthenticationDemo-UserSecrets - + diff --git a/src/Example04/Example04.csproj b/src/Example04/Example04.csproj index 80cbb03..bf0be1c 100644 --- a/src/Example04/Example04.csproj +++ b/src/Example04/Example04.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable ApiKeyAuthenticationDemo-UserSecrets - + diff --git a/src/Example05/Example05.csproj b/src/Example05/Example05.csproj index 7df490c..c01082d 100644 --- a/src/Example05/Example05.csproj +++ b/src/Example05/Example05.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable ApiKeyAuthenticationDemo-UserSecrets - + diff --git a/src/Example06/Example06.csproj b/src/Example06/Example06.csproj index 6189fb6..248a53a 100644 --- a/src/Example06/Example06.csproj +++ b/src/Example06/Example06.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable ApiKeyAuthenticationDemo-UserSecrets - + diff --git a/src/Example07/Example07.csproj b/src/Example07/Example07.csproj index ace7d70..3bd7aa0 100644 --- a/src/Example07/Example07.csproj +++ b/src/Example07/Example07.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable ApiKeyAuthenticationDemo-UserSecrets - + diff --git a/src/Example08/Example08.csproj b/src/Example08/Example08.csproj index 348af5e..6682241 100644 --- a/src/Example08/Example08.csproj +++ b/src/Example08/Example08.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable ApiKeyAuthenticationDemo-UserSecrets - + diff --git a/test/Example01.Tests/Example01.Tests.csproj b/test/Example01.Tests/Example01.Tests.csproj index 72fbca8..ea70676 100644 --- a/test/Example01.Tests/Example01.Tests.csproj +++ b/test/Example01.Tests/Example01.Tests.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable false - + @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Example02.Tests/Example02.Tests.csproj b/test/Example02.Tests/Example02.Tests.csproj index d786f32..e555713 100644 --- a/test/Example02.Tests/Example02.Tests.csproj +++ b/test/Example02.Tests/Example02.Tests.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable false - + @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Example03.Tests/Example03.Tests.csproj b/test/Example03.Tests/Example03.Tests.csproj index e928fb2..fa62464 100644 --- a/test/Example03.Tests/Example03.Tests.csproj +++ b/test/Example03.Tests/Example03.Tests.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable false - + @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Example04.Tests/Example04.Tests.csproj b/test/Example04.Tests/Example04.Tests.csproj index 96c6f19..653e757 100644 --- a/test/Example04.Tests/Example04.Tests.csproj +++ b/test/Example04.Tests/Example04.Tests.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable false - + @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Example05.Tests/Example05.Tests.csproj b/test/Example05.Tests/Example05.Tests.csproj index d15a5b6..7f89476 100644 --- a/test/Example05.Tests/Example05.Tests.csproj +++ b/test/Example05.Tests/Example05.Tests.csproj @@ -1,13 +1,13 @@ - net7.0 + net8.0 enable false - + @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Example06.Tests/Example06.Tests.csproj b/test/Example06.Tests/Example06.Tests.csproj index 7dafbd5..01e92d9 100644 --- a/test/Example06.Tests/Example06.Tests.csproj +++ b/test/Example06.Tests/Example06.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable false @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Example07.Tests/Example07.Tests.csproj b/test/Example07.Tests/Example07.Tests.csproj index f788c6f..4a58411 100644 --- a/test/Example07.Tests/Example07.Tests.csproj +++ b/test/Example07.Tests/Example07.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable false @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/Example08.Tests/Example08.Tests.csproj b/test/Example08.Tests/Example08.Tests.csproj index 630ad7d..b927099 100644 --- a/test/Example08.Tests/Example08.Tests.csproj +++ b/test/Example08.Tests/Example08.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable false @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all