diff --git a/Directory.Packages.props b/Directory.Packages.props index 04e3ec6..0618402 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -7,13 +7,11 @@ - - - - + + @@ -25,17 +23,18 @@ - + + - + + - \ No newline at end of file diff --git a/GerstITS.Examples.Api/Common/Configurations/Extensions/IConfigurationExtensions.cs b/GerstITS.Examples.Api/Common/Configurations/Extensions/IConfigurationExtensions.cs index e60a637..9ac2847 100644 --- a/GerstITS.Examples.Api/Common/Configurations/Extensions/IConfigurationExtensions.cs +++ b/GerstITS.Examples.Api/Common/Configurations/Extensions/IConfigurationExtensions.cs @@ -1,8 +1,4 @@ -using System; -using System.Linq; -using Microsoft.Extensions.Configuration; - -namespace GerstITS.Examples.Api.Configurations; +namespace GerstITS.Examples.Api.Configurations; public static class IConfigurationExtensions { diff --git a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.EntityFrameworkMigration.cs b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.EntityFrameworkMigration.cs index e8c4513..4b8b93d 100644 --- a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.EntityFrameworkMigration.cs +++ b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.EntityFrameworkMigration.cs @@ -1,6 +1,5 @@ using GerstITS.Data.EntityFramework; using GerstITS.System.Configurations; -using Microsoft.Extensions.Configuration; namespace GerstITS.Examples.Api.Configurations; diff --git a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.OpenId.Validation.cs b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.OpenId.Validation.cs index df406fd..c9e973b 100644 --- a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.OpenId.Validation.cs +++ b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.OpenId.Validation.cs @@ -1,5 +1,4 @@ using GerstITS.Authentication.OpenId; -using Microsoft.Extensions.Configuration; namespace GerstITS.Examples.Api.Configurations; diff --git a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.OpenId.cs b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.OpenId.cs index acac430..1547c67 100644 --- a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.OpenId.cs +++ b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.OpenId.cs @@ -1,6 +1,5 @@ using GerstITS.Authentication.OpenId; using GerstITS.System.Configurations; -using Microsoft.Extensions.Configuration; namespace GerstITS.Examples.Api.Configurations; diff --git a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.CorsPolicy.cs b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.CorsPolicy.cs index 58e285b..2240cb4 100644 --- a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.CorsPolicy.cs +++ b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.CorsPolicy.cs @@ -1,6 +1,5 @@ using GerstITS.System.Configurations; using GerstITS.Web.Api.Builder; -using Microsoft.Extensions.Configuration; namespace GerstITS.Examples.Api.Configurations; diff --git a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.Headers.cs b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.Headers.cs index 01b5061..a0dfbac 100644 --- a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.Headers.cs +++ b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.Headers.cs @@ -1,11 +1,10 @@ using GerstITS.System.Configurations; using GerstITS.Web.Api.Builder; -using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.HttpOverrides; namespace GerstITS.Examples.Api.Configurations; -internal sealed class WebApiHeadersConfiguration : IHeaderConfiguration, IConfiguration +internal sealed class WebApiHeadersConfiguration : IHeaderConfiguration, GerstITS.System.Configurations.IConfiguration { #region Constructors diff --git a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.cs b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.cs index fd41a4e..a275ee6 100644 --- a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.cs +++ b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Server.cs @@ -1,6 +1,5 @@ using GerstITS.System.Configurations; using GerstITS.Web.Api.Builder; -using Microsoft.Extensions.Configuration; namespace GerstITS.Examples.Api.Configurations; diff --git a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Swagger.License.cs b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Swagger.License.cs index 236e029..f79c4da 100644 --- a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Swagger.License.cs +++ b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Swagger.License.cs @@ -1,7 +1,5 @@ -using System; -using GerstITS.System.Configurations; +using GerstITS.System.Configurations; using GerstITS.Web.Api.Swagger; -using Microsoft.Extensions.Configuration; namespace GerstITS.Examples.Api.Configurations; diff --git a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Swagger.cs b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Swagger.cs index 4b40af3..838a776 100644 --- a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Swagger.cs +++ b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.Swagger.cs @@ -1,11 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; +using System.Diagnostics; using GerstITS.Common; using GerstITS.System.Configurations; using GerstITS.Web.Api.Swagger; -using Microsoft.Extensions.Configuration; namespace GerstITS.Examples.Api.Configurations; diff --git a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.cs b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.cs index 1707103..fc4b105 100644 --- a/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.cs +++ b/GerstITS.Examples.Api/Common/Configurations/WebApiConfiguration.cs @@ -6,7 +6,7 @@ using GerstITS.Web.Api.Swagger; namespace GerstITS.Examples.Api.Configurations; -internal sealed class WebApiConfiguration : IConfiguration +internal sealed class WebApiConfiguration : GerstITS.System.Configurations.IConfiguration { #region Properties diff --git a/GerstITS.Examples.Api/GerstITS.Examples.Api.csproj b/GerstITS.Examples.Api/GerstITS.Examples.Api.csproj index e41cb31..0bdfbdd 100644 --- a/GerstITS.Examples.Api/GerstITS.Examples.Api.csproj +++ b/GerstITS.Examples.Api/GerstITS.Examples.Api.csproj @@ -13,11 +13,6 @@ 0.0.0.0 - - net10.0 - latest - - true true @@ -37,28 +32,29 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + @@ -66,11 +62,6 @@ - - - - - diff --git a/GerstITS.Examples.Api/Module.Configurations.cs b/GerstITS.Examples.Api/Module.Configurations.cs index fb61f02..a9f8771 100644 --- a/GerstITS.Examples.Api/Module.Configurations.cs +++ b/GerstITS.Examples.Api/Module.Configurations.cs @@ -1,5 +1,4 @@ using GerstITS.Examples.Api.Configurations; -using Microsoft.Extensions.DependencyInjection; namespace GerstITS.Examples.Api; diff --git a/GerstITS.Examples.Api/Module.ExceptionHandling.cs b/GerstITS.Examples.Api/Module.ExceptionHandling.cs index da951a7..cbc525d 100644 --- a/GerstITS.Examples.Api/Module.ExceptionHandling.cs +++ b/GerstITS.Examples.Api/Module.ExceptionHandling.cs @@ -1,6 +1,5 @@ using GerstITS.Examples.Api.ExceptionHandling; using GerstITS.Web.Api.ExceptionHandling.Extensions; -using Microsoft.Extensions.DependencyInjection; namespace GerstITS.Examples.Api; diff --git a/GerstITS.Examples.Api/Module.StartupTasks.cs b/GerstITS.Examples.Api/Module.StartupTasks.cs index bd1d687..1df1fa8 100644 --- a/GerstITS.Examples.Api/Module.StartupTasks.cs +++ b/GerstITS.Examples.Api/Module.StartupTasks.cs @@ -1,6 +1,5 @@ using GerstITS.Examples.Api.StartupTasks; using GerstITS.IoC.DotNetCore; -using Microsoft.Extensions.DependencyInjection; namespace GerstITS.Examples.Api; diff --git a/GerstITS.Examples.Api/Module.cs b/GerstITS.Examples.Api/Module.cs index 89610a9..aba8ba2 100644 --- a/GerstITS.Examples.Api/Module.cs +++ b/GerstITS.Examples.Api/Module.cs @@ -1,5 +1,4 @@ using GerstITS.IoC; -using Microsoft.Extensions.DependencyInjection; namespace GerstITS.Examples.Api; diff --git a/GerstITS.Examples.Api/Program.cs b/GerstITS.Examples.Api/Program.cs index 37f03db..6a2cbc7 100644 --- a/GerstITS.Examples.Api/Program.cs +++ b/GerstITS.Examples.Api/Program.cs @@ -2,7 +2,6 @@ using System.Diagnostics; using GerstITS.Web.Api; using GerstITS.Web.Api.Hosting; using GerstITS.Web.Api.Swagger; -using Microsoft.AspNetCore.Builder; using Serilog; namespace GerstITS.Examples.Api; diff --git a/GerstITS.Examples.Jobs.SayHelloWorld/GerstITS.Examples.Jobs.SayHelloWorld.csproj b/GerstITS.Examples.Jobs.SayHelloWorld/GerstITS.Examples.Jobs.SayHelloWorld.csproj index f69ad1c..f1c76b8 100644 --- a/GerstITS.Examples.Jobs.SayHelloWorld/GerstITS.Examples.Jobs.SayHelloWorld.csproj +++ b/GerstITS.Examples.Jobs.SayHelloWorld/GerstITS.Examples.Jobs.SayHelloWorld.csproj @@ -12,11 +12,6 @@ 0.0.0.0 - - net10.0 - latest - - true true @@ -32,12 +27,12 @@ - - - - - - + + + + + + diff --git a/GerstITS.Examples.Jobs.SayHelloWorld/Jobs/SayHelloWorldJob.cs b/GerstITS.Examples.Jobs.SayHelloWorld/Jobs/SayHelloWorldJob.cs index 5071f65..57abec4 100644 --- a/GerstITS.Examples.Jobs.SayHelloWorld/Jobs/SayHelloWorldJob.cs +++ b/GerstITS.Examples.Jobs.SayHelloWorld/Jobs/SayHelloWorldJob.cs @@ -1,5 +1,4 @@ using System.Diagnostics; -using System.Threading; using GerstITS.Examples.Jobs.SayHelloWorld.Configurations; using GerstITS.Job; using GerstITS.System.Environment; diff --git a/GerstITS.Examples.Jobs.SayHelloWorld/Jobs/SayHelloWorldWithDefaultNameUsageJob.cs b/GerstITS.Examples.Jobs.SayHelloWorld/Jobs/SayHelloWorldWithDefaultNameUsageJob.cs index 324b242..de269d1 100644 --- a/GerstITS.Examples.Jobs.SayHelloWorld/Jobs/SayHelloWorldWithDefaultNameUsageJob.cs +++ b/GerstITS.Examples.Jobs.SayHelloWorld/Jobs/SayHelloWorldWithDefaultNameUsageJob.cs @@ -1,5 +1,4 @@ using System.Diagnostics; -using System.Threading; using GerstITS.Examples.Jobs.SayHelloWorld.Configurations; using GerstITS.Job; using Quartz; diff --git a/GerstITS.Examples.Logic/GerstITS.Examples.Logic.csproj b/GerstITS.Examples.Logic/GerstITS.Examples.Logic.csproj index 533ad3c..510fc88 100644 --- a/GerstITS.Examples.Logic/GerstITS.Examples.Logic.csproj +++ b/GerstITS.Examples.Logic/GerstITS.Examples.Logic.csproj @@ -12,11 +12,6 @@ 0.0.0.0 - - net10.0 - latest - - true true @@ -32,13 +27,13 @@ - - - - - - - + + + + + + + diff --git a/GerstITS.Examples.Logic/Shared/Extensions/IReadOnlyRepositoryExtensions.cs b/GerstITS.Examples.Logic/Shared/Extensions/IReadOnlyRepositoryExtensions.cs index 0345dea..1120736 100644 --- a/GerstITS.Examples.Logic/Shared/Extensions/IReadOnlyRepositoryExtensions.cs +++ b/GerstITS.Examples.Logic/Shared/Extensions/IReadOnlyRepositoryExtensions.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using System.Linq.Expressions; +using System.Linq.Expressions; using GerstITS.Common; using GerstITS.Data; diff --git a/GerstITS.Examples.Logic/Shared/Search/Sorting/SortingProvider.cs b/GerstITS.Examples.Logic/Shared/Search/Sorting/SortingProvider.cs index fc3d39d..81067d5 100644 --- a/GerstITS.Examples.Logic/Shared/Search/Sorting/SortingProvider.cs +++ b/GerstITS.Examples.Logic/Shared/Search/Sorting/SortingProvider.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using System.Linq.Expressions; +using System.Linq.Expressions; using System.Reflection; using GerstITS.Common; using GerstITS.Search; diff --git a/GerstITS.Examples.WebClient.Console/GerstITS.Examples.WebClient.Console.csproj b/GerstITS.Examples.WebClient.Console/GerstITS.Examples.WebClient.Console.csproj index 5136471..ca48e36 100644 --- a/GerstITS.Examples.WebClient.Console/GerstITS.Examples.WebClient.Console.csproj +++ b/GerstITS.Examples.WebClient.Console/GerstITS.Examples.WebClient.Console.csproj @@ -13,8 +13,6 @@ - net10.0 - latest Exe @@ -43,24 +41,20 @@ - - - - - - - - - + + + + + + + + + + - - - - - diff --git a/GerstITS.Examples.WebClient.Console/Module.cs b/GerstITS.Examples.WebClient.Console/Module.cs index 2967078..d5a2d2e 100644 --- a/GerstITS.Examples.WebClient.Console/Module.cs +++ b/GerstITS.Examples.WebClient.Console/Module.cs @@ -1,5 +1,4 @@ -using System; -using GerstITS.Examples.WebClient.Console.Tests; +using GerstITS.Examples.WebClient.Console.Tests; using GerstITS.IoC; using GerstITS.IoC.DotNetCore; using Microsoft.Extensions.Configuration; diff --git a/GerstITS.Examples.WebClient.Console/Tests/TestRunner.cs b/GerstITS.Examples.WebClient.Console/Tests/TestRunner.cs index 2b849d5..71c31ba 100644 --- a/GerstITS.Examples.WebClient.Console/Tests/TestRunner.cs +++ b/GerstITS.Examples.WebClient.Console/Tests/TestRunner.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using GerstITS.Examples.WebClients.Examples.Api; +using GerstITS.Examples.WebClients.Examples.Api; using GerstITS.IoC.DotNetCore; using GerstITS.Web.WebClients; diff --git a/GerstITS.WebClients.Example.Api/Contracts/Serialization/SearchResult.cs b/GerstITS.WebClients.Example.Api/Contracts/Serialization/SearchResult.cs index 7d6b9d3..3f2e2a2 100644 --- a/GerstITS.WebClients.Example.Api/Contracts/Serialization/SearchResult.cs +++ b/GerstITS.WebClients.Example.Api/Contracts/Serialization/SearchResult.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace GerstITS.Examples.WebClients.Examples.Api; +namespace GerstITS.Examples.WebClients.Examples.Api; public class SearchResult { diff --git a/GerstITS.WebClients.Example.Api/CreationRules/ExampleApiClientCreatingRule.cs b/GerstITS.WebClients.Example.Api/CreationRules/ExampleApiClientCreatingRule.cs index 0c98e56..c4040ef 100644 --- a/GerstITS.WebClients.Example.Api/CreationRules/ExampleApiClientCreatingRule.cs +++ b/GerstITS.WebClients.Example.Api/CreationRules/ExampleApiClientCreatingRule.cs @@ -1,5 +1,4 @@ -using System; -using GerstITS.Examples.WebClients.Examples.Api.Configurations; +using GerstITS.Examples.WebClients.Examples.Api.Configurations; using GerstITS.Web.Rest.WebClients; namespace GerstITS.Examples.WebClients.Examples.Api.CreationRules; diff --git a/GerstITS.WebClients.Example.Api/GerstITS.Examples.WebClients.Examples.Api.csproj b/GerstITS.WebClients.Example.Api/GerstITS.Examples.WebClients.Examples.Api.csproj index 00c6cb7..369d8b0 100644 --- a/GerstITS.WebClients.Example.Api/GerstITS.Examples.WebClients.Examples.Api.csproj +++ b/GerstITS.WebClients.Example.Api/GerstITS.Examples.WebClients.Examples.Api.csproj @@ -12,11 +12,6 @@ 0.0.0.0 - - net10.0 - latest - - true true @@ -32,16 +27,11 @@ - - - - - - - - - - + + + + + diff --git a/NuGet.Config b/NuGet.Config index 09ba228..31be91c 100644 --- a/NuGet.Config +++ b/NuGet.Config @@ -1,20 +1,28 @@ - + - - - - - - - - - - - - - - + + + + + + + + + + + - + + + + + + + + + + + + \ No newline at end of file