From b81274a604bf9de079b526ace8d6d950f57747a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:01:08 +0200 Subject: [PATCH 01/28] Bump Microsoft.Extensions.Hosting, System.Text.Json, Microsoft.Extensions.DependencyInjection.Abstractions, Microsoft.Extensions.DependencyInjection, Microsoft.Extensions.Logging.Abstractions and Microsoft.Extensions.Logging (#308) Bumps [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime), [System.Text.Json](https://github.com/dotnet/runtime), [Microsoft.Extensions.DependencyInjection.Abstractions](https://github.com/dotnet/runtime), [Microsoft.Extensions.DependencyInjection](https://github.com/dotnet/runtime), [Microsoft.Extensions.Logging.Abstractions](https://github.com/dotnet/runtime) and [Microsoft.Extensions.Logging](https://github.com/dotnet/runtime). These dependencies needed to be updated together. Updates `Microsoft.Extensions.Hosting` from 8.0.0 to 8.0.1 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1) Updates `System.Text.Json` from 8.0.4 to 8.0.5 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5) Updates `Microsoft.Extensions.DependencyInjection.Abstractions` from 8.0.1 to 8.0.2 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2) Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1) Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2) Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Hosting dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: System.Text.Json dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Microsoft.Extensions.DependencyInjection dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Microsoft.Extensions.Logging.Abstractions dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Microsoft.Extensions.Logging dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index dc14cf3..9cefd45 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -20,12 +20,12 @@ - - - + + + - - + + From 1ea3c3775f2add9660c1d4be8d5d06440ea265b4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:34:45 +0200 Subject: [PATCH 02/28] Bump Microsoft.EntityFrameworkCore.InMemory and Microsoft.EntityFrameworkCore (#314) Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore) and [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore). These dependencies needed to be updated together. Updates `Microsoft.EntityFrameworkCore.InMemory` from 8.0.8 to 8.0.10 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10) Updates `Microsoft.EntityFrameworkCore` from 8.0.8 to 8.0.10 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10) --- updated-dependencies: - dependency-name: Microsoft.EntityFrameworkCore.InMemory dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Microsoft.EntityFrameworkCore dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 9cefd45..a972dab 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -17,8 +17,8 @@ - - + + From 9fd3f48165d96966488f906b697e4c6528f3ce68 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:22:35 +0200 Subject: [PATCH 03/28] Bump System.Reflection.Metadata from 8.0.0 to 8.0.1 (#310) Bumps [System.Reflection.Metadata](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1) --- updated-dependencies: - dependency-name: System.Reflection.Metadata dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index a972dab..c3c31bf 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -39,7 +39,7 @@ - + From 776c0dfba6d2218cfafcd359c51ff9d9e6f5fd8d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:53:23 +0200 Subject: [PATCH 04/28] Bump Microsoft.AspNetCore.TestHost from 8.0.8 to 8.0.10 (#307) Bumps [Microsoft.AspNetCore.TestHost](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10. - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10) --- updated-dependencies: - dependency-name: Microsoft.AspNetCore.TestHost dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index c3c31bf..2f5e4d3 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -13,7 +13,7 @@ - + From bc7ea54dc07be1f603defbf3d1b8ceb565b735d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:10:43 +0200 Subject: [PATCH 05/28] Bump dotnet-reportgenerator-globaltool from 5.3.10 to 5.3.11 (#309) Bumps [dotnet-reportgenerator-globaltool](https://github.com/danielpalme/ReportGenerator) from 5.3.10 to 5.3.11. - [Release notes](https://github.com/danielpalme/ReportGenerator/releases) - [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.3.10...v5.3.11) --- updated-dependencies: - dependency-name: dotnet-reportgenerator-globaltool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 1020732..cad5dc5 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "dotnet-reportgenerator-globaltool": { - "version": "5.3.10", + "version": "5.3.11", "commands": [ "reportgenerator" ] From 7ff93ec4996f066b56d0fe67ff0742aa4d76c33b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:35:53 +0200 Subject: [PATCH 06/28] Bump Grpc.Tools from 2.66.0 to 2.67.0 (#306) Bumps [Grpc.Tools](https://github.com/grpc/grpc) from 2.66.0 to 2.67.0. - [Release notes](https://github.com/grpc/grpc/releases) - [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md) - [Commits](https://github.com/grpc/grpc/commits) --- updated-dependencies: - dependency-name: Grpc.Tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 2f5e4d3..a287e50 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,7 +12,7 @@ - + From 19c6b84da88b975ec1c53372904c2d20990d0f23 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:18:57 +0200 Subject: [PATCH 07/28] Bump xunit.runner.console from 2.9.0 to 2.9.2 (#313) Bumps [xunit.runner.console](https://github.com/xunit/xunit) from 2.9.0 to 2.9.2. - [Commits](https://github.com/xunit/xunit/compare/v2-2.9.0...v2-2.9.2) --- updated-dependencies: - dependency-name: xunit.runner.console dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index a287e50..7dd32f1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -32,7 +32,7 @@ - + From 46e59777218e7b676578b69fc72dba23ea6f1a38 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 16:21:33 +0200 Subject: [PATCH 08/28] Bump xunit from 2.9.0 to 2.9.2 (#312) Bumps [xunit](https://github.com/xunit/xunit) from 2.9.0 to 2.9.2. - [Commits](https://github.com/xunit/xunit/compare/v2-2.9.0...v2-2.9.2) --- updated-dependencies: - dependency-name: xunit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 7dd32f1..1bba060 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -31,7 +31,7 @@ - + From daca9425141e4bad08640aaf36be5a5333d4238b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:58:20 +0100 Subject: [PATCH 09/28] Bump Nerdbank.GitVersioning from 3.6.143 to 3.6.146 (#317) Bumps [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) from 3.6.143 to 3.6.146. - [Release notes](https://github.com/dotnet/Nerdbank.GitVersioning/releases) - [Commits](https://github.com/dotnet/Nerdbank.GitVersioning/commits) --- updated-dependencies: - dependency-name: Nerdbank.GitVersioning dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 1bba060..74dae9b 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ - + From 88c8499f83217be3655cbec24b7fcc70a33f48a7 Mon Sep 17 00:00:00 2001 From: Bert Date: Mon, 28 Oct 2024 09:27:22 +0100 Subject: [PATCH 10/28] update nuget package versions (#319) --- Directory.Packages.props | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 74dae9b..f97d664 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -23,7 +23,7 @@ - + @@ -36,11 +36,11 @@ - + - + From c1bdf9409c3316330083f88ab119a2328c453c98 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:30:26 +0100 Subject: [PATCH 11/28] Bump Google.Protobuf from 3.28.2 to 3.28.3 (#316) Bumps [Google.Protobuf](https://github.com/protocolbuffers/protobuf) from 3.28.2 to 3.28.3. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.28.2...v3.28.3) --- updated-dependencies: - dependency-name: Google.Protobuf dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index f97d664..e64a04d 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -9,7 +9,7 @@ - + From b31861ddd453cbff23c0cd242a6b012b04d6d348 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:47:05 +0100 Subject: [PATCH 12/28] Bump System.CommandLine from 2.0.0-beta4.24324.3 to 2.0.0-beta4.24517.1 (#315) Bumps [System.CommandLine](https://github.com/dotnet/command-line-api) from 2.0.0-beta4.24324.3 to 2.0.0-beta4.24517.1. - [Release notes](https://github.com/dotnet/command-line-api/releases) - [Changelog](https://github.com/dotnet/command-line-api/blob/main/docs/History.md) - [Commits](https://github.com/dotnet/command-line-api/commits) --- updated-dependencies: - dependency-name: System.CommandLine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bert --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index e64a04d..7b468a6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -35,7 +35,7 @@ - + From f397d26eecc896a6584694d35129b571351ac097 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:56:07 +0100 Subject: [PATCH 13/28] Bump nbgv from 3.6.143 to 3.6.146 (#318) Bumps [nbgv](https://github.com/dotnet/Nerdbank.GitVersioning) from 3.6.143 to 3.6.146. - [Release notes](https://github.com/dotnet/Nerdbank.GitVersioning/releases) - [Commits](https://github.com/dotnet/Nerdbank.GitVersioning/commits) --- updated-dependencies: - dependency-name: nbgv dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bert --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index cad5dc5..1c4fc06 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -15,7 +15,7 @@ ] }, "nbgv": { - "version": "3.6.143", + "version": "3.6.146", "commands": [ "nbgv" ] From 5a4bb988efd7c14aac586b43f0bc7064b8dd6048 Mon Sep 17 00:00:00 2001 From: Bert Date: Tue, 29 Oct 2024 10:35:43 +0100 Subject: [PATCH 14/28] fix VS warnings (#320) --- src/NewTypes/NewTypes/NewTypes.csproj | 1 + src/NewTypes/NewTypes/Pets/Cat.cs | 4 +-- src/NewTypes/NewTypes/Pets/Dog.cs | 2 +- src/NewTypes/NewTypes/Pets/IPet.cs | 4 +-- src/NewTypes/NewTypes/Program.cs | 11 +++++--- .../NewTypesTests/NewTypes.Tests.csproj | 26 +++++++++---------- src/NewTypes/NewTypesTests/PetTests.cs | 5 ++-- .../UnitTests/DataAccessLayerTest.cs | 1 + .../Utilities/Utilities.cs | 9 ++----- .../RazorPagesTestSample/Program.cs | 4 +-- .../RazorPagesTestSample.csproj | 1 + 11 files changed, 32 insertions(+), 36 deletions(-) diff --git a/src/NewTypes/NewTypes/NewTypes.csproj b/src/NewTypes/NewTypes/NewTypes.csproj index 0635693..8908e7e 100644 --- a/src/NewTypes/NewTypes/NewTypes.csproj +++ b/src/NewTypes/NewTypes/NewTypes.csproj @@ -2,6 +2,7 @@ Exe + $(NoWarn);CA1515 net8.0;net9.0 diff --git a/src/NewTypes/NewTypes/Pets/Cat.cs b/src/NewTypes/NewTypes/Pets/Cat.cs index 054e963..e8f8570 100644 --- a/src/NewTypes/NewTypes/Pets/Cat.cs +++ b/src/NewTypes/NewTypes/Pets/Cat.cs @@ -1,6 +1,4 @@ -using System; - -namespace Pets +namespace NewTypes.Pets { public class Cat : IPet { diff --git a/src/NewTypes/NewTypes/Pets/Dog.cs b/src/NewTypes/NewTypes/Pets/Dog.cs index 79ef494..c0888cb 100644 --- a/src/NewTypes/NewTypes/Pets/Dog.cs +++ b/src/NewTypes/NewTypes/Pets/Dog.cs @@ -1,6 +1,6 @@ using System; -namespace Pets +namespace NewTypes.Pets { public class Dog : IPet { diff --git a/src/NewTypes/NewTypes/Pets/IPet.cs b/src/NewTypes/NewTypes/Pets/IPet.cs index f3a3d43..0858411 100644 --- a/src/NewTypes/NewTypes/Pets/IPet.cs +++ b/src/NewTypes/NewTypes/Pets/IPet.cs @@ -1,6 +1,4 @@ -using System; - -namespace Pets +namespace NewTypes.Pets { public interface IPet { diff --git a/src/NewTypes/NewTypes/Program.cs b/src/NewTypes/NewTypes/Program.cs index 7eb32c9..40309c2 100644 --- a/src/NewTypes/NewTypes/Program.cs +++ b/src/NewTypes/NewTypes/Program.cs @@ -1,17 +1,20 @@ using System; using System.Collections.Generic; +using NewTypes.Pets; -namespace Pets +namespace NewTypes { public static class Program { public static void Main(string[] args) { - List pets = new List - { + ArgumentNullException.ThrowIfNull(args); + + List pets = + [ new Dog(), new Cat() - }; + ]; foreach (IPet pet in pets) { diff --git a/src/NewTypes/NewTypesTests/NewTypes.Tests.csproj b/src/NewTypes/NewTypesTests/NewTypes.Tests.csproj index 4242c54..017af5f 100644 --- a/src/NewTypes/NewTypesTests/NewTypes.Tests.csproj +++ b/src/NewTypes/NewTypesTests/NewTypes.Tests.csproj @@ -12,19 +12,19 @@ - - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers - + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + diff --git a/src/NewTypes/NewTypesTests/PetTests.cs b/src/NewTypes/NewTypesTests/PetTests.cs index 1af3ede..925649d 100644 --- a/src/NewTypes/NewTypesTests/PetTests.cs +++ b/src/NewTypes/NewTypesTests/PetTests.cs @@ -1,8 +1,7 @@ -using System; -using Pets; +using NewTypes.Pets; using Xunit; -namespace PetsUnitTest +namespace NewTypes.Tests { public class PetTests diff --git a/src/RazorPages/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs b/src/RazorPages/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs index c038b30..6b85da6 100644 --- a/src/RazorPages/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs +++ b/src/RazorPages/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs @@ -3,6 +3,7 @@ using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using RazorPagesTestSample.Data; +using RazorPagesTestSample.Tests.Utilities; using Xunit; namespace RazorPagesTestSample.Tests.UnitTests diff --git a/src/RazorPages/RazorPagesTestSample.Tests/Utilities/Utilities.cs b/src/RazorPages/RazorPagesTestSample.Tests/Utilities/Utilities.cs index d1f9e5e..cdd5447 100644 --- a/src/RazorPages/RazorPagesTestSample.Tests/Utilities/Utilities.cs +++ b/src/RazorPages/RazorPagesTestSample.Tests/Utilities/Utilities.cs @@ -1,15 +1,10 @@ -using System.Collections.Generic; -using System.Linq; -using System.Net.Http; -using System.Text.RegularExpressions; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using RazorPagesTestSample.Data; -namespace RazorPagesTestSample.Tests +namespace RazorPagesTestSample.Tests.Utilities { - public static class TestUtilities + internal static class TestUtilities { #region snippet1 public static DbContextOptions TestDbContextOptions() diff --git a/src/RazorPages/RazorPagesTestSample/Program.cs b/src/RazorPages/RazorPagesTestSample/Program.cs index e886887..cfbf512 100644 --- a/src/RazorPages/RazorPagesTestSample/Program.cs +++ b/src/RazorPages/RazorPagesTestSample/Program.cs @@ -23,7 +23,7 @@ public static void Main(string[] args) IServiceProvider services = scope.ServiceProvider; AppDbContext db = services.GetRequiredService(); - db.Database.EnsureCreated(); + _ = db.Database.EnsureCreated(); if (!db.Messages.Any()) { @@ -50,7 +50,7 @@ public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { - webBuilder.UseStartup(); + _ = webBuilder.UseStartup(); }); } } diff --git a/src/RazorPages/RazorPagesTestSample/RazorPagesTestSample.csproj b/src/RazorPages/RazorPagesTestSample/RazorPagesTestSample.csproj index a926b21..e09aa9d 100644 --- a/src/RazorPages/RazorPagesTestSample/RazorPagesTestSample.csproj +++ b/src/RazorPages/RazorPagesTestSample/RazorPagesTestSample.csproj @@ -2,6 +2,7 @@ net8.0;net9.0 + $(NoWarn);CA1515;IDE0079 From 6810c8401651ef2fa995e4459c0e061f77cbab93 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 06:27:39 +0100 Subject: [PATCH 15/28] Bump System.CommandLine from 2.0.0-beta4.24517.1 to 2.0.0-beta4.24528.1 (#321) Bumps [System.CommandLine](https://github.com/dotnet/command-line-api) from 2.0.0-beta4.24517.1 to 2.0.0-beta4.24528.1. - [Release notes](https://github.com/dotnet/command-line-api/releases) - [Changelog](https://github.com/dotnet/command-line-api/blob/main/docs/History.md) - [Commits](https://github.com/dotnet/command-line-api/commits) --- updated-dependencies: - dependency-name: System.CommandLine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 7b468a6..7826352 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -35,7 +35,7 @@ - + From 581eee65138a6861423fae7fd588f474189bfe89 Mon Sep 17 00:00:00 2001 From: Bert Date: Sat, 2 Nov 2024 15:25:40 +0100 Subject: [PATCH 16/28] update DotNetDev.ArcadeLight.Sdk version (#322) --- README.md | 8 ++++---- eng/Versions.props | 2 +- global.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 362c90b..9f3d6f7 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,14 @@ Arcade-light is inspired from [dotnet/arcade](https://github.com/dotnet/arcade) ```json { "sdk": { - "version": "8.0.201", + "version": "8.0.403", "rollForward": "latestFeature" }, "tools": { - "dotnet": "8.0.201" + "dotnet": "8.0.403" }, "msbuild-sdks": { - "DotNetDev.ArcadeLight.Sdk": "1.7.1" + "DotNetDev.ArcadeLight.Sdk": "1.7.5" } } ``` @@ -56,7 +56,7 @@ Arcade-light is inspired from [dotnet/arcade](https://github.com/dotnet/arcade) - + ... <\Project> diff --git a/eng/Versions.props b/eng/Versions.props index b100429..062f95b 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -2,6 +2,6 @@ - 2.4.2 + 2.9.2 diff --git a/global.json b/global.json index 30cc065..461603a 100644 --- a/global.json +++ b/global.json @@ -7,6 +7,6 @@ "dotnet": "9.0.100-rc.1.24452.12" }, "msbuild-sdks": { - "DotNetDev.ArcadeLight.Sdk": "1.7.4" + "DotNetDev.ArcadeLight.Sdk": "1.7.5" } } From 24e7ecc96a233f632d7c9a506bf0501bda25a6e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 12:44:03 +0100 Subject: [PATCH 17/28] Bump dotnet-reportgenerator-globaltool from 5.3.11 to 5.4.0 (#323) Bumps [dotnet-reportgenerator-globaltool](https://github.com/danielpalme/ReportGenerator) from 5.3.11 to 5.4.0. - [Release notes](https://github.com/danielpalme/ReportGenerator/releases) - [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.3.11...v5.4.0) --- updated-dependencies: - dependency-name: dotnet-reportgenerator-globaltool dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 1c4fc06..9cc3d80 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "dotnet-reportgenerator-globaltool": { - "version": "5.3.11", + "version": "5.4.0", "commands": [ "reportgenerator" ] From afaac2d716efdfc78ea14ee70e530877809ab620 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 06:36:10 +0100 Subject: [PATCH 18/28] Bump cyclonedx from 4.0.0 to 4.1.0 (#332) Bumps [cyclonedx](https://github.com/CycloneDX/cyclonedx-dotnet) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/CycloneDX/cyclonedx-dotnet/releases) - [Commits](https://github.com/CycloneDX/cyclonedx-dotnet/compare/v4.0.0...v4.1.0) --- updated-dependencies: - dependency-name: cyclonedx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 9cc3d80..0ebd78a 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -9,7 +9,7 @@ ] }, "cyclonedx": { - "version": "4.0.0", + "version": "4.1.0", "commands": [ "dotnet-CycloneDX" ] From eee0c2064f7263cd5eb3b32f6a4b4054d2df2d7e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 10:34:29 +0100 Subject: [PATCH 19/28] Bump dotnet-reportgenerator-globaltool from 5.4.0 to 5.4.1 (#333) Bumps [dotnet-reportgenerator-globaltool](https://github.com/danielpalme/ReportGenerator) from 5.4.0 to 5.4.1. - [Release notes](https://github.com/danielpalme/ReportGenerator/releases) - [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.4.0...v5.4.1) --- updated-dependencies: - dependency-name: dotnet-reportgenerator-globaltool dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 0ebd78a..ae2c2ba 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "dotnet-reportgenerator-globaltool": { - "version": "5.4.0", + "version": "5.4.1", "commands": [ "reportgenerator" ] From 5ce71bf45b245503b134c9d57d24348e04a36c4d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 11:11:23 +0100 Subject: [PATCH 20/28] Bump SonarAnalyzer.CSharp from 9.32.0.97167 to 10.3.0.106239 (#328) Bumps [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet) from 9.32.0.97167 to 10.3.0.106239. - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) --- updated-dependencies: - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 7826352..7d0589f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,7 +3,7 @@ true - + From 3d9fcac2122a6f96bdcbfddf587746b44272d9cd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 11:25:46 +0100 Subject: [PATCH 21/28] Bump Microsoft.EntityFrameworkCore from 8.0.10 to 8.0.11 (#330) Bumps [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore) from 8.0.10 to 8.0.11. - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.10...v8.0.11) --- updated-dependencies: - dependency-name: Microsoft.EntityFrameworkCore dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 7d0589f..4e0296a 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -17,7 +17,7 @@ - + From 6d93f6209ad20939c810dc2e058ce14038c213f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 14:10:27 +0100 Subject: [PATCH 22/28] Bump Google.Protobuf from 3.28.3 to 3.29.0 (#327) Bumps [Google.Protobuf](https://github.com/protocolbuffers/protobuf) from 3.28.3 to 3.29.0. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.28.3...v3.29.0) --- updated-dependencies: - dependency-name: Google.Protobuf dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 4e0296a..9f44d3c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -9,7 +9,7 @@ - + From f1198e125cd955d8d5e859f123a577d796b00a52 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 14:21:44 +0100 Subject: [PATCH 23/28] Bump Grpc.AspNetCore from 2.66.0 to 2.67.0 (#329) Bumps [Grpc.AspNetCore](https://github.com/grpc/grpc-dotnet) from 2.66.0 to 2.67.0. - [Release notes](https://github.com/grpc/grpc-dotnet/releases) - [Changelog](https://github.com/grpc/grpc-dotnet/blob/master/doc/release_process.md) - [Commits](https://github.com/grpc/grpc-dotnet/compare/v2.66.0...v2.67.0) --- updated-dependencies: - dependency-name: Grpc.AspNetCore dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 9f44d3c..b55330e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,8 +10,8 @@ - - + + From 25c64ce60336708b784c4f3814e5c10bd8917c35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:41:50 +0100 Subject: [PATCH 24/28] Bump nbgv from 3.6.146 to 3.7.112 (#337) Bumps [nbgv](https://github.com/dotnet/Nerdbank.GitVersioning) from 3.6.146 to 3.7.112. - [Release notes](https://github.com/dotnet/Nerdbank.GitVersioning/releases) - [Commits](https://github.com/dotnet/Nerdbank.GitVersioning/compare/v3.6.146...v3.7.112) --- updated-dependencies: - dependency-name: nbgv dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index ae2c2ba..1e880b7 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -15,7 +15,7 @@ ] }, "nbgv": { - "version": "3.6.146", + "version": "3.7.112", "commands": [ "nbgv" ] From aa0f60a8cf5031e3f1c3c23cab7236cb4b28db77 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:02:28 +0100 Subject: [PATCH 25/28] Bump Nerdbank.GitVersioning from 3.6.146 to 3.7.112 (#336) Bumps [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) from 3.6.146 to 3.7.112. - [Release notes](https://github.com/dotnet/Nerdbank.GitVersioning/releases) - [Commits](https://github.com/dotnet/Nerdbank.GitVersioning/compare/v3.6.146...v3.7.112) --- updated-dependencies: - dependency-name: Nerdbank.GitVersioning dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index b55330e..623e7d3 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ - + From 04a177885eb138ec0fe9efb30c158993a1182011 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:34:32 +0100 Subject: [PATCH 26/28] Bump cyclonedx from 4.1.0 to 4.2.0 (#335) Bumps [cyclonedx](https://github.com/CycloneDX/cyclonedx-dotnet) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/CycloneDX/cyclonedx-dotnet/releases) - [Commits](https://github.com/CycloneDX/cyclonedx-dotnet/compare/v4.1.0...v4.2.0) --- updated-dependencies: - dependency-name: cyclonedx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 1e880b7..2451ebd 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -9,7 +9,7 @@ ] }, "cyclonedx": { - "version": "4.1.0", + "version": "4.2.0", "commands": [ "dotnet-CycloneDX" ] From ac22379f6200c058c7905a98d84a0600bcfa4cf8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:53:14 +0100 Subject: [PATCH 27/28] Bump Google.Protobuf from 3.29.0 to 3.29.1 (#338) Bumps [Google.Protobuf](https://github.com/protocolbuffers/protobuf) from 3.29.0 to 3.29.1. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.29.0...v3.29.1) --- updated-dependencies: - dependency-name: Google.Protobuf dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 623e7d3..c06bf3e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -9,7 +9,7 @@ - + From b8b989b180773b07493f6f40b25e34db10c52378 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:15:35 +0100 Subject: [PATCH 28/28] Bump Grpc.Tools from 2.67.0 to 2.68.1 (#334) Bumps [Grpc.Tools](https://github.com/grpc/grpc) from 2.67.0 to 2.68.1. - [Release notes](https://github.com/grpc/grpc/releases) - [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md) - [Commits](https://github.com/grpc/grpc/commits) --- updated-dependencies: - dependency-name: Grpc.Tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index c06bf3e..9375595 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,7 +12,7 @@ - +