Integrated YARP by adding the Yarp.ReverseProxy package, including yarp.json for proxy configuration, and updating Program.cs to load and map reverse proxy routes. This enables the API to forward requests based on yarp.json settings.
74 lines
3.3 KiB
XML
74 lines
3.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net9.0</TargetFrameworks>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<PackageId>EnvelopeGenerator.GeneratorAPI</PackageId>
|
|
<Title></Title>
|
|
<Authors>Digital Data GmbH</Authors>
|
|
<Company>Digital Data GmbH</Company>
|
|
<Product>EnvelopeGenerator.GeneratorAPI</Product>
|
|
<Version>1.2.3</Version>
|
|
<FileVersion>1.2.3</FileVersion>
|
|
<AssemblyVersion>1.2.3</AssemblyVersion>
|
|
<PackageOutputPath>Copyright © 2025 Digital Data GmbH. All rights reserved.</PackageOutputPath>
|
|
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="ClientApp\**" />
|
|
<Content Remove="ClientApp\**" />
|
|
<EmbeddedResource Remove="ClientApp\**" />
|
|
<None Remove="ClientApp\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="yarp.json" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="AspNetCore.Scalar" Version="1.1.8" />
|
|
<PackageReference Include="DigitalData.Auth.Client" Version="1.3.7" />
|
|
<PackageReference Include="DigitalData.Core.API" Version="2.2.1" />
|
|
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.6" />
|
|
<PackageReference Include="NLog" Version="5.2.5" />
|
|
<PackageReference Include="NLog.Web.AspNetCore" Version="5.3.0" />
|
|
<PackageReference Include="Scalar.AspNetCore" Version="2.2.1" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.1" />
|
|
<PackageReference Include="DigitalData.EmailProfilerDispatcher.Abstraction" Version="3.2.0" />
|
|
<PackageReference Include="Yarp.ReverseProxy" Version="2.1.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
|
|
<PackageReference Include="System.DirectoryServices" Version="7.0.1" />
|
|
<PackageReference Include="System.DirectoryServices.AccountManagement" Version="7.0.1" />
|
|
<PackageReference Include="System.DirectoryServices.Protocols" Version="7.0.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
|
|
<PackageReference Include="System.DirectoryServices" Version="8.0.0" />
|
|
<PackageReference Include="System.DirectoryServices.AccountManagement" Version="8.0.1" />
|
|
<PackageReference Include="System.DirectoryServices.Protocols" Version="8.0.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
|
|
<PackageReference Include="System.DirectoryServices" Version="9.0.4" />
|
|
<PackageReference Include="System.DirectoryServices.AccountManagement" Version="9.0.4" />
|
|
<PackageReference Include="System.DirectoryServices.Protocols" Version="9.0.4" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="wwwroot\" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\EnvelopeGenerator.Application\EnvelopeGenerator.Application.csproj" />
|
|
<ProjectReference Include="..\EnvelopeGenerator.Domain\EnvelopeGenerator.Domain.csproj" />
|
|
<ProjectReference Include="..\EnvelopeGenerator.Infrastructure\EnvelopeGenerator.Infrastructure.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|