mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 05:30:13 +01:00
Usunalem EventApiController(dobry byl ale mial problemy). Dodalem EventsEndpoints, zawiera async, używa Dtos (Data Transfer Objects). Jeżeli chcecie zrobić HTTP request ale nie wiecie co dać w body JSONa to można sprawdzić w tych Dtos. EventMapping służy do zmian obiektów Dto na Entity i odwrotnie.
46 lines
2.2 KiB
XML
46 lines
2.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<UserSecretsId>aspnet-WebApp-718c04e4-1a0c-4a69-ab9c-4db84c77bab1</UserSecretsId>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="9.0.3" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.3.1" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="9.0.3" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="9.0.3" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.3" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.3">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.3">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.OpenApi" Version="1.6.24" />
|
|
<PackageReference Include="MinimalApis.Extensions" Version="0.11.0" />
|
|
<PackageReference Include="Npgsql" Version="9.0.3" />
|
|
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.1" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="8.1.1" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="8.1.1" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="8.1.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Update="wwwroot\create.html">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Update="wwwroot\index.html">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ProjectExtensions><VisualStudio><UserProperties /></VisualStudio></ProjectExtensions>
|
|
|
|
</Project>
|