Fix naming issues for first draft

This commit is contained in:
2021-06-15 11:10:55 +02:00
parent 8e156ba356
commit 8c14e25305
8 changed files with 56 additions and 58 deletions

View File

@@ -1,10 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<Company>ITSCare GbR</Company> <Company>Gerst ITS</Company>
<Authors>ITSCare GbR</Authors> <Authors>Gerst ITS</Authors>
<Copyright>Copyright © ITSCare GbR 2021</Copyright> <Copyright>© 2021 Gerst ITS</Copyright>
<Product>ITSCare Example WebApi</Product> <Authors>Gerst ITS</Authors>
<Product>Gerst ITS Examples Web Api</Product>
<Description>Exapmle Web Api</Description>
<Version>0.0.0.0</Version> <Version>0.0.0.0</Version>
<AssemblyVersion>0.0.0.0</AssemblyVersion> <AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion> <AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion>
@@ -21,7 +23,7 @@
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<WarningsAsErrors /> <WarningsAsErrors />
<NoWarn>1591</NoWarn> <NoWarn>1591</NoWarn>
<DocumentationFile>bin\Debug\net5.0\ITSCare.Example.Api.xml</DocumentationFile> <DocumentationFile>bin\Release\net5.0\GerstITS.Example.Api.xml</DocumentationFile>
<OutputPath></OutputPath> <OutputPath></OutputPath>
</PropertyGroup> </PropertyGroup>
@@ -30,38 +32,38 @@
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<WarningsAsErrors /> <WarningsAsErrors />
<NoWarn>1591</NoWarn> <NoWarn>1591</NoWarn>
<DocumentationFile>bin\Release\net5.0\ITSCare.Example.Api.xml</DocumentationFile> <DocumentationFile>bin\Release\net5.0\GerstITS.Example.Api.xml</DocumentationFile>
<OutputPath></OutputPath> <OutputPath></OutputPath>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="GerstITS.AutoMapper" Version="2021.6.17" /> <PackageReference Include="GerstITS.AutoMapper" Version="2021.6.17" />
<PackageReference Include="GerstITS.Common" Version="2021.6.17" /> <PackageReference Include="GerstITS.Common" Version="2021.6.17" />
<PackageReference Include="GerstITS.Data" Version="2021.6.17" /> <PackageReference Include="GerstITS.Data" Version="2021.6.17" />
<PackageReference Include="GerstITS.IoC" Version="2021.6.17" /> <PackageReference Include="GerstITS.IoC" Version="2021.6.17" />
<PackageReference Include="GerstITS.IoC.DotNetCore" Version="2021.6.17" /> <PackageReference Include="GerstITS.IoC.DotNetCore" Version="2021.6.17" />
<PackageReference Include="GerstITS.Job" Version="2021.6.17" /> <PackageReference Include="GerstITS.Job" Version="2021.6.17" />
<PackageReference Include="GerstITS.Job.Scheduling" Version="2021.6.17" /> <PackageReference Include="GerstITS.Job.Scheduling" Version="2021.6.17" />
<PackageReference Include="GerstITS.Search" Version="2021.6.17" /> <PackageReference Include="GerstITS.Search" Version="2021.6.17" />
<PackageReference Include="GerstITS.System" Version="2021.6.17" /> <PackageReference Include="GerstITS.System" Version="2021.6.17" />
<PackageReference Include="GerstITS.Validation" Version="2021.6.17" /> <PackageReference Include="GerstITS.Validation" Version="2021.6.17" />
<PackageReference Include="GerstITS.Web" Version="2021.6.17" /> <PackageReference Include="GerstITS.Web" Version="2021.6.17" />
<PackageReference Include="GerstITS.Web.Api" Version="2021.6.17" /> <PackageReference Include="GerstITS.Web.Api" Version="2021.6.17" />
<PackageReference Include="GerstITS.Web.Api.Swagger" Version="2021.6.17" /> <PackageReference Include="GerstITS.Web.Api.Swagger" Version="2021.6.17" />
<PackageReference Include="GerstITS.Web.Rest" Version="2021.6.17" /> <PackageReference Include="GerstITS.Web.Rest" Version="2021.6.17" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.7" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.7" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.7"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.7">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\GerstITS.Examples.Jobs.SayHelloWorld\GerstITS.Examples.Jobs.SayHelloWorld.csproj" /> <ProjectReference Include="..\GerstITS.Examples.Jobs.SayHelloWorld\GerstITS.Examples.Jobs.SayHelloWorld.csproj" />
<ProjectReference Include="..\GerstITS.Examples.Logic\GerstITS.Examples.Logic.csproj" /> <ProjectReference Include="..\GerstITS.Examples.Logic\GerstITS.Examples.Logic.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -14,14 +14,6 @@
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }
},
"ITSCare.Example.Api": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:5001;http://localhost:5000"
} }
} }
} }

View File

@@ -1,10 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<Company>ITSCare GbR</Company> <Company>Gerst ITS</Company>
<Authors>ITSCare GbR</Authors> <Authors>Gerst ITS</Authors>
<Copyright>Copyright © ITSCare GbR 2021</Copyright> <Copyright>© 2021 Gerst ITS</Copyright>
<Product>ITSCare GbR Example Job</Product> <Product>Gerst ITS Examples Job</Product>
<Description>Exapmle job.</Description>
<Version>0.0.0.0</Version> <Version>0.0.0.0</Version>
<AssemblyVersion>0.0.0.0</AssemblyVersion> <AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion> <AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion>

View File

@@ -9,9 +9,9 @@ namespace GerstITS.Examples.Logic.Example
public IntegerMapping() public IntegerMapping()
{ {
CreateMap<int, Example>() CreateMap<int, Example>()
.ForMember(x => x.FirstName, m => m.MapFrom((s,t) => $"First Name {s}")) .ForMember(x => x.FirstName, m => m.MapFrom((s, _) => $"First Name {s}"))
.ForMember(x => x.LastName, m => m.MapFrom((s,t) => $"Last Name {s}")) .ForMember(x => x.LastName, m => m.MapFrom((s, _) => $"Last Name {s}"))
.ForMember(x => x.Description, m => m.MapFrom((s,t) => $"Useful description for id '{s}'")); .ForMember(x => x.Description, m => m.MapFrom((s, _) => $"Useful description for id '{s}'"));
} }
#endregion #endregion

View File

@@ -1,10 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<Company>ITSCare GbR</Company> <Company>Gerst ITS</Company>
<Authors>ITSCare GbR</Authors> <Authors>Gerst ITS</Authors>
<Copyright>Copyright © ITSCare GbR 2021</Copyright> <Copyright>© 2021 Gerst ITS</Copyright>
<Product>ITSCare GbR Example Logic</Product> <Product>Gerst ITS Examples logic</Product>
<Description>Exapmle Logic.</Description>
<Version>0.0.0.0</Version> <Version>0.0.0.0</Version>
<AssemblyVersion>0.0.0.0</AssemblyVersion> <AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion> <AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion>

View File

@@ -1,10 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<Company>ITSCare GbR</Company> <Company>Gerst ITS</Company>
<Authors>ITSCare GbR</Authors> <Authors>Gerst ITS</Authors>
<Copyright>Copyright © ITSCare GbR 2021</Copyright> <Copyright>© 2021 Gerst ITS</Copyright>
<Product>ITSCare GbR Example WebApi Client</Product> <Product>Gerst ITS Examples Web Api client console application</Product>
<Description>Exapmle Web Api client console application.</Description>
<Version>0.0.0.0</Version> <Version>0.0.0.0</Version>
<AssemblyVersion>0.0.0.0</AssemblyVersion> <AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion> <AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion>

View File

@@ -15,7 +15,7 @@ namespace GerstITS.Examples.WebClients.Examples.Api.CreationRules
#region Constructors #region Constructors
public ExampleApiClientCreatingRule(ExampleApiClientConfiguration configuration, public ExampleApiClientCreatingRule(ExampleApiClientConfiguration configuration,
Func<IRestWebServiceConfiguration, IRestWebServiceClient> restWebServiceClientFactory) Func<IRestWebServiceConfiguration, IRestWebServiceClient> restWebServiceClientFactory)
: base(configuration, restWebServiceClientFactory) : base(configuration, restWebServiceClientFactory)
{ {
} }

View File

@@ -1,10 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<Company>ITSCare GbR</Company> <Company>Gerst ITS</Company>
<Authors>ITSCare GbR</Authors> <Authors>Gerst ITS</Authors>
<Copyright>Copyright © ITSCare GbR 2021</Copyright> <Copyright>© 2021 Gerst ITS</Copyright>
<Product>ITSCare GbR Example WebClient</Product> <Product>Gerst ITS Examples Web Api client</Product>
<Description>Exapmle Web Api client.</Description>
<Version>0.0.0.0</Version> <Version>0.0.0.0</Version>
<AssemblyVersion>0.0.0.0</AssemblyVersion> <AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion> <AssemblyInformationalVersion>0.0.0.0</AssemblyInformationalVersion>