feat(infrastructure): add extension methods for configuring and registering HttpClient

- Implemented ConfigureHttpClient extension for IServiceCollection with dynamic client name
- Added AddInfrastructureServices method to simplify HttpClient registration via configurable options
- Introduced sealed Config class for flexible client configuration
This commit is contained in:
Developer 02
2025-08-12 18:41:07 +02:00
parent c3c6ffdf99
commit 4256a79122
2 changed files with 39 additions and 0 deletions

View File

@@ -6,4 +6,9 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
</ItemGroup>
</Project>