Cleanups
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using GerstITS.Data.EntityFramework;
|
||||
using GerstITS.System.Configurations;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace GerstITS.Examples.Api.Configurations;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using GerstITS.Authentication.OpenId;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace GerstITS.Examples.Api.Configurations;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using GerstITS.Authentication.OpenId;
|
||||
using GerstITS.System.Configurations;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace GerstITS.Examples.Api.Configurations;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using GerstITS.System.Configurations;
|
||||
using GerstITS.Web.Api.Builder;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace GerstITS.Examples.Api.Configurations;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using GerstITS.System.Configurations;
|
||||
using GerstITS.Web.Api.Builder;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace GerstITS.Examples.Api.Configurations;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -13,11 +13,6 @@
|
||||
<FileVersion>0.0.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
||||
@@ -37,28 +32,29 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GerstITS.Authentication.OpenId" Version="2026.1.1" />
|
||||
<PackageReference Include="GerstITS.Common" Version="2025.12.1" />
|
||||
<PackageReference Include="GerstITS.Data" Version="2026.1.3" />
|
||||
<PackageReference Include="GerstITS.Data.EntityFramework" Version="2026.1.3" />
|
||||
<PackageReference Include="GerstITS.IoC" Version="2025.12.1" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" Version="2025.12.1" />
|
||||
<PackageReference Include="GerstITS.Job" Version="2025.12.1" />
|
||||
<PackageReference Include="GerstITS.Job.Scheduling" Version="2026.1.1" />
|
||||
<PackageReference Include="GerstITS.Mapping.AutoMapper" Version="2026.1.1" />
|
||||
<PackageReference Include="GerstITS.Search" Version="2026.1.1" />
|
||||
<PackageReference Include="GerstITS.System" Version="2026.1.1" />
|
||||
<PackageReference Include="GerstITS.Validation" Version="2026.1.1" />
|
||||
<PackageReference Include="GerstITS.Web" Version="2025.12.1" />
|
||||
<PackageReference Include="GerstITS.Web.Api" Version="2026.1.1" />
|
||||
<PackageReference Include="GerstITS.Web.Rest" Version="2026.1.1" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="10.0.1" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.1">
|
||||
<PackageReference Include="GerstITS.Authentication.OpenId" />
|
||||
<PackageReference Include="GerstITS.Common" />
|
||||
<PackageReference Include="GerstITS.Data" />
|
||||
<PackageReference Include="GerstITS.Data.EntityFramework" />
|
||||
<PackageReference Include="GerstITS.IoC" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" />
|
||||
<PackageReference Include="GerstITS.Job" />
|
||||
<PackageReference Include="GerstITS.Job.Scheduling" />
|
||||
<PackageReference Include="GerstITS.Mapping.AutoMapper" />
|
||||
<PackageReference Include="GerstITS.Search" />
|
||||
<PackageReference Include="GerstITS.System" />
|
||||
<PackageReference Include="GerstITS.Validation" />
|
||||
<PackageReference Include="GerstITS.Web" />
|
||||
<PackageReference Include="GerstITS.Web.Api" />
|
||||
<PackageReference Include="GerstITS.Web.Api.Swagger" />
|
||||
<PackageReference Include="GerstITS.Web.Rest" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
|
||||
<PackageReference Include="Newtonsoft.Json" />
|
||||
<PackageReference Include="Serilog.AspNetCore" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -66,11 +62,6 @@
|
||||
<ProjectReference Include="..\GerstITS.Examples.Logic\GerstITS.Examples.Logic.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectCapability Include="ConfigurableFileNesting" />
|
||||
<ProjectCapability Include="ConfigurableFileNestingFeatureEnabled" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="wwwroot\" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using GerstITS.Examples.Api.Configurations;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace GerstITS.Examples.Api;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using GerstITS.Examples.Api.ExceptionHandling;
|
||||
using GerstITS.Web.Api.ExceptionHandling.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace GerstITS.Examples.Api;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using GerstITS.Examples.Api.StartupTasks;
|
||||
using GerstITS.IoC.DotNetCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace GerstITS.Examples.Api;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using GerstITS.IoC;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace GerstITS.Examples.Api;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user