Compare commits
9 Commits
6a4a62672a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 81af585e5f | |||
| 13345520ac | |||
| 5f03bef2d3 | |||
| 42521a0e12 | |||
| 73f7e585bc | |||
| ecc60a9c8d | |||
| 05a79de31e | |||
| 3f0b736589 | |||
| 37d65c9c84 |
19
Directory.Build.props
Normal file
19
Directory.Build.props
Normal file
@@ -0,0 +1,19 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectCapability Include="ConfigurableFileNesting" />
|
||||
<ProjectCapability Include="ConfigurableFileNestingFeatureEnabled" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Update="@(Content)">
|
||||
<Visible Condition="'%(NuGetItemType)' == 'Content'">false</Visible>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
40
Directory.Packages.props
Normal file
40
Directory.Packages.props
Normal file
@@ -0,0 +1,40 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageVersion Include="AutoMapper" Version="16.0.0" />
|
||||
<PackageVersion Include="FluentValidation" Version="12.1.1" />
|
||||
<PackageVersion Include="GerstITS.Authentication.OpenId" Version="2026.1.1" />
|
||||
<PackageVersion Include="GerstITS.Common" Version="2025.12.1" />
|
||||
<PackageVersion Include="GerstITS.Data" Version="2026.1.3" />
|
||||
<PackageVersion Include="GerstITS.Data.EntityFramework" Version="2026.1.3" />
|
||||
<PackageVersion Include="GerstITS.Data.EntityFramework.PostgreSql" Version="2026.1.1" />
|
||||
<PackageVersion Include="GerstITS.IoC" Version="2025.12.1" />
|
||||
<PackageVersion Include="GerstITS.IoC.DotNetCore" Version="2025.12.1" />
|
||||
<PackageVersion Include="GerstITS.Job" Version="2025.12.1" />
|
||||
<PackageVersion Include="GerstITS.Job.Scheduling" Version="2026.1.1" />
|
||||
<PackageVersion Include="GerstITS.Mapping.AutoMapper" Version="2026.1.1" />
|
||||
<PackageVersion Include="GerstITS.Search" Version="2026.1.1" />
|
||||
<PackageVersion Include="GerstITS.System" Version="2026.1.1" />
|
||||
<PackageVersion Include="GerstITS.Validation" Version="2026.1.1" />
|
||||
<PackageVersion Include="GerstITS.Web" Version="2025.12.1" />
|
||||
<PackageVersion Include="GerstITS.Web.Api" Version="2026.1.1" />
|
||||
<PackageVersion Include="GerstITS.Web.Api.Swagger" Version="2026.1.4" />
|
||||
<PackageVersion Include="GerstITS.Web.Rest" Version="2026.1.1" />
|
||||
<PackageVersion Include="Hocon.Extensions.Configuration" Version="2.0.4" />
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="10.0.1" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.1" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.1" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.1" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.FileExtensions" Version="10.0.1" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="10.0.1" />
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.1" />
|
||||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
|
||||
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.0" />
|
||||
<PackageVersion Include="Serilog.AspNetCore" Version="10.0.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -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,6 +1,6 @@
|
||||
using GerstITS.Web.Api.Swagger;
|
||||
using Microsoft.Net.Http.Headers;
|
||||
using Microsoft.OpenApi.Models;
|
||||
using Microsoft.OpenApi;
|
||||
|
||||
namespace GerstITS.Examples.Api.Configurations;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using GerstITS.Authentication.OpenId;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace GerstITS.Examples.Api.Configurations;
|
||||
|
||||
@@ -8,14 +7,14 @@ internal class OpenIdValidationConfiguration : IOpenIdValidationConfiguration
|
||||
#region Constructors
|
||||
|
||||
public OpenIdValidationConfiguration(string parentPrefix,
|
||||
IConfiguration configuration)
|
||||
IConfiguration configuration)
|
||||
{
|
||||
var prefix = $"{parentPrefix}:Validate";
|
||||
|
||||
Issuer = configuration.GetValue<string>($"{prefix}:{nameof(Issuer)}");
|
||||
Audience = configuration.GetValue<string>($"{prefix}:{nameof(Audience)}");
|
||||
RsaPublicKey = configuration.GetValue<string>($"{prefix}:{nameof(RsaPublicKey)}");
|
||||
RequiredClaimType = configuration.GetValue<string>($"{prefix}:{nameof(RequiredClaimType)}");
|
||||
NameClaimType = configuration.GetValue<string>($"{prefix}:{nameof(NameClaimType)}");
|
||||
ValidateLifetime = configuration.GetValue<bool>($"{prefix}:{nameof(ValidateLifetime)}");
|
||||
}
|
||||
|
||||
@@ -26,7 +25,7 @@ internal class OpenIdValidationConfiguration : IOpenIdValidationConfiguration
|
||||
public string Issuer { get; }
|
||||
public string Audience { get; }
|
||||
public string RsaPublicKey { get; }
|
||||
public string RequiredClaimType { get; }
|
||||
public string NameClaimType { get; }
|
||||
public bool ValidateLifetime { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -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,8 +1,7 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
using GerstITS.Common;
|
||||
using GerstITS.System.Configurations;
|
||||
using GerstITS.Web.Api.Swagger;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace GerstITS.Examples.Api.Configurations;
|
||||
|
||||
@@ -25,7 +24,8 @@ internal sealed class SwaggerConfiguration : ISwaggerConfiguration
|
||||
|
||||
Release = currentAssembly.GetName().Version;
|
||||
License = new LicenseConfiguration(prefix, configuration);
|
||||
Security = new OpenApiSecuritySchemeConfiguration();
|
||||
Securities = new OpenApiSecuritySchemeConfiguration().AsEnumerable()
|
||||
.ToList();
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -37,8 +37,8 @@ internal sealed class SwaggerConfiguration : ISwaggerConfiguration
|
||||
public string SupportEMail { get; }
|
||||
public Uri TermsOfService { get; }
|
||||
public Version Release { get; }
|
||||
public IEnumerable<IOpenApiSecuritySchemeConfiguration> Securities { get; }
|
||||
public ILicense License { get; }
|
||||
public IOpenApiSecuritySchemeConfiguration Security { get; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ public class ExampleController : FluentApiControllerBase
|
||||
{
|
||||
#region Fields
|
||||
|
||||
private readonly IExampleProvider _provider;
|
||||
|
||||
private readonly IExampleProvider _provider;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<Company>Gerst ITS</Company>
|
||||
<Authors>Gerst ITS</Authors>
|
||||
<Copyright>© 2023 Gerst ITS</Copyright>
|
||||
<Copyright>© 2025 Gerst ITS</Copyright>
|
||||
<Authors>Gerst ITS</Authors>
|
||||
<Product>Gerst ITS Examples Web Api</Product>
|
||||
<Description>Exapmle Web Api</Description>
|
||||
@@ -13,11 +13,6 @@
|
||||
<FileVersion>0.0.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
||||
@@ -37,31 +32,29 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GerstITS.Authentication.OpenId" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Common" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Data" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Data.EntityFramework" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.IoC" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Job" Version="2025.8.1" />
|
||||
<PackageReference Include="GerstITS.Job.Scheduling" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Mapping.AutoMapper" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Search" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.System" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Validation" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Web" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Web.Api" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Web.Api.Swagger" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Web.Rest" Version="2025.1.10" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.1" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.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="Microsoft.Extensions.DependencyInjection" Version="9.0.1" />
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.1" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
|
||||
<PackageReference Include="Newtonsoft.Json" />
|
||||
<PackageReference Include="Serilog.AspNetCore" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -69,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;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"Swagger": {
|
||||
"SupportEMail": "support@example.com",
|
||||
"TermsOfService": "https://www.example.com/impressum/",
|
||||
"Licence": {
|
||||
"License": {
|
||||
"Name": "MIT",
|
||||
"Url": "https://opensource.org/licenses/MIT"
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<Company>Gerst ITS</Company>
|
||||
<Authors>Gerst ITS</Authors>
|
||||
<Copyright>© 2023 Gerst ITS</Copyright>
|
||||
<Copyright>© 2025 Gerst ITS</Copyright>
|
||||
<Product>Gerst ITS Examples Job</Product>
|
||||
<Description>Exapmle job.</Description>
|
||||
<Version>0.0.0.0</Version>
|
||||
@@ -12,11 +12,6 @@
|
||||
<FileVersion>0.0.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
||||
@@ -32,12 +27,12 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GerstITS.Data" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.IoC" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Job" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Job.Scheduling" Version="2025.1.10" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.1" />
|
||||
<PackageReference Include="GerstITS.Data" />
|
||||
<PackageReference Include="GerstITS.IoC" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" />
|
||||
<PackageReference Include="GerstITS.Job" />
|
||||
<PackageReference Include="GerstITS.Job.Scheduling" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using GerstITS.Examples.Jobs.SayHelloWorld.Configurations;
|
||||
using GerstITS.Job;
|
||||
using GerstITS.System.Environment;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using GerstITS.Examples.Jobs.SayHelloWorld.Configurations;
|
||||
using GerstITS.Job;
|
||||
using Quartz;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<Company>Gerst ITS</Company>
|
||||
<Authors>Gerst ITS</Authors>
|
||||
<Copyright>© 2023 Gerst ITS</Copyright>
|
||||
<Copyright>© 2025 Gerst ITS</Copyright>
|
||||
<Product>Gerst ITS Examples logic</Product>
|
||||
<Description>Exapmle Logic.</Description>
|
||||
<Version>0.0.0.0</Version>
|
||||
@@ -12,11 +12,6 @@
|
||||
<FileVersion>0.0.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
||||
@@ -32,15 +27,13 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="AutoMapper" Version="13.0.1" />
|
||||
<PackageReference Include="FluentValidation" Version="11.11.0" />
|
||||
<PackageReference Include="GerstITS.Data" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.IoC" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Mapping.AutoMapper" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Search" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Validation" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Web.Api" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Data" />
|
||||
<PackageReference Include="GerstITS.IoC" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" />
|
||||
<PackageReference Include="GerstITS.Mapping.AutoMapper" />
|
||||
<PackageReference Include="GerstITS.Search" />
|
||||
<PackageReference Include="GerstITS.Validation" />
|
||||
<PackageReference Include="GerstITS.Web.Api" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Linq.Expressions;
|
||||
using GerstITS.Common;
|
||||
using GerstITS.Data;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<Company>Gerst ITS</Company>
|
||||
<Authors>Gerst ITS</Authors>
|
||||
<Copyright>© 2023 Gerst ITS</Copyright>
|
||||
<Copyright>© 2025 Gerst ITS</Copyright>
|
||||
<Product>Gerst ITS Examples Web Api client console application</Product>
|
||||
<Description>Exapmle Web Api client console application.</Description>
|
||||
<Version>0.0.0.0</Version>
|
||||
@@ -13,8 +13,6 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -43,24 +41,20 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GerstITS.Common" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.IoC" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.System" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Web" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Web.Rest" Version="2025.1.10" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.1" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="9.0.1" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.1" />
|
||||
<PackageReference Include="GerstITS.Common" />
|
||||
<PackageReference Include="GerstITS.IoC" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" />
|
||||
<PackageReference Include="GerstITS.System" />
|
||||
<PackageReference Include="GerstITS.Web" />
|
||||
<PackageReference Include="GerstITS.Web.Rest" />
|
||||
<PackageReference Include="Hocon.Extensions.Configuration" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" />
|
||||
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\GerstITS.WebClients.Example.Api\GerstITS.Examples.WebClients.Examples.Api.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectCapability Include="ConfigurableFileNesting" />
|
||||
<ProjectCapability Include="ConfigurableFileNestingFeatureEnabled" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31321.278
|
||||
# Visual Studio Version 18
|
||||
VisualStudioVersion = 18.0.11217.181 d18.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GerstITS.Examples.Api", "GerstITS.Examples.Api\GerstITS.Examples.Api.csproj", "{417B5C77-05BF-4562-9A1A-AEE0531B59C1}"
|
||||
EndProject
|
||||
|
||||
@@ -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<TItem>
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<Company>Gerst ITS</Company>
|
||||
<Authors>Gerst ITS</Authors>
|
||||
<Copyright>© 2023 Gerst ITS</Copyright>
|
||||
<Copyright>© 2025 Gerst ITS</Copyright>
|
||||
<Product>Gerst ITS Examples Web Api client</Product>
|
||||
<Description>Exapmle Web Api client.</Description>
|
||||
<Version>0.0.0.0</Version>
|
||||
@@ -12,11 +12,6 @@
|
||||
<FileVersion>0.0.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
||||
@@ -32,16 +27,11 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GerstITS.IoC" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.System" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Web" Version="2025.1.10" />
|
||||
<PackageReference Include="GerstITS.Web.Rest" Version="2025.1.10" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectCapability Include="ConfigurableFileNesting" />
|
||||
<ProjectCapability Include="ConfigurableFileNestingFeatureEnabled" />
|
||||
<PackageReference Include="GerstITS.IoC" />
|
||||
<PackageReference Include="GerstITS.IoC.DotNetCore" />
|
||||
<PackageReference Include="GerstITS.System" />
|
||||
<PackageReference Include="GerstITS.Web" />
|
||||
<PackageReference Include="GerstITS.Web.Rest" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
40
NuGet.Config
40
NuGet.Config
@@ -1,20 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<config>
|
||||
<add key="repositoryPath" value="..\packages" />
|
||||
</config>
|
||||
<packageRestore>
|
||||
<add key="enabled" value="True" />
|
||||
<add key="automatic" value="True" />
|
||||
</packageRestore>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="Gerst ITS" value="https://packages.gerst-it.com/nuget/public/v3/index.json" />
|
||||
<add key="nuget.org - V2" value="https://www.nuget.org/api/v2/" />
|
||||
<add key="nuget.org - V3" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
<disabledPackageSources>
|
||||
<packageRestore>
|
||||
<add key="enabled" value="True" />
|
||||
<add key="automatic" value="True" />
|
||||
</packageRestore>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="Gerst ITS" value="https://packages.gerst-it.com/nuget/public/v3/index.json" />
|
||||
<add key="nuget.org - V2" value="https://www.nuget.org/api/v2/" />
|
||||
<add key="nuget.org - V3" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
<disabledPackageSources>
|
||||
</disabledPackageSources>
|
||||
<activePackageSource>
|
||||
<activePackageSource>
|
||||
</activePackageSource>
|
||||
<packageSourceMapping>
|
||||
<packageSource key="nuget.org - V2">
|
||||
<package pattern="*" />
|
||||
</packageSource>
|
||||
<packageSource key="nuget.org - V3">
|
||||
<package pattern="*" />
|
||||
</packageSource>
|
||||
<packageSource key="Gerst ITS">
|
||||
<package pattern="GerstITS.*" />
|
||||
</packageSource>
|
||||
</packageSourceMapping>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user