Onspay.Infrastructure.ModuleClient
2.0.0
dotnet add package Onspay.Infrastructure.ModuleClient --version 2.0.0
NuGet\Install-Package Onspay.Infrastructure.ModuleClient -Version 2.0.0
<PackageReference Include="Onspay.Infrastructure.ModuleClient" Version="2.0.0" />
<PackageVersion Include="Onspay.Infrastructure.ModuleClient" Version="2.0.0" />
<PackageReference Include="Onspay.Infrastructure.ModuleClient" />
paket add Onspay.Infrastructure.ModuleClient --version 2.0.0
#r "nuget: Onspay.Infrastructure.ModuleClient, 2.0.0"
#:package Onspay.Infrastructure.ModuleClient@2.0.0
#addin nuget:?package=Onspay.Infrastructure.ModuleClient&version=2.0.0
#tool nuget:?package=Onspay.Infrastructure.ModuleClient&version=2.0.0
Refit-based typed HTTP client registration for platform module-to-module calls (AddModuleClient<TApiInterface>) AND tenant-configured external integrations (AddExternalClient<TApiInterface>). Automatically chains Onspay.AspNetCore's CorrelationIdDelegatingHandler/TenantIdDelegatingHandler/RequestResponseLoggingDelegatingHandler so every outbound call carries X-Correlation-Id/X-Tenant-Id and is logged without the caller setting any of that up by hand. AddExternalClient additionally resolves BaseUrl/AuthType/AuthSecret/TimeoutMilliseconds per-call from Onspay.Infrastructure.Tenancy's ITenantClientEndpointResolver for the ambient tenant. Also provides ApiResponse<T>/ApiException/TenantClientEndpointNotConfiguredException to Result<T> unwrapping so Application-layer code never has to know whether data came from this module's own DB, another module's API, or a tenant's own external system.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Http.Resilience (>= 10.0.0)
- Onspay.AspNetCore (>= 2.0.0)
- Onspay.Infrastructure.Tenancy (>= 2.0.0)
- Onspay.SharedKernel (>= 2.0.0)
- Refit (>= 11.2.0)
- Refit.HttpClientFactory (>= 11.2.0)
-
net9.0
- Microsoft.Extensions.Http.Resilience (>= 10.0.0)
- Onspay.AspNetCore (>= 2.0.0)
- Onspay.Infrastructure.Tenancy (>= 2.0.0)
- Onspay.SharedKernel (>= 2.0.0)
- Refit (>= 11.2.0)
- Refit.HttpClientFactory (>= 11.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 72 | 11/3/2026 |
| 1.5.5 | 146 | 10/6/2026 |
| 1.5.4 | 136 | 10/2/2026 |
| 1.5.3 | 131 | 9/30/2026 |
| 1.5.2 | 105 | 9/29/2026 |
| 1.5.1 | 101 | 9/29/2026 |
| 1.4.2 | 127 | 9/25/2026 |
| 1.4.1 | 108 | 9/25/2026 |
| 1.4.0 | 103 | 9/25/2026 |
| 1.3.15 | 98 | 9/25/2026 |
| 1.3.14 | 122 | 9/21/2026 |
| 1.3.13 | 109 | 9/18/2026 |
| 1.3.11 | 131 | 9/17/2026 |
| 1.3.10 | 109 | 9/17/2026 |
| 1.3.8 | 107 | 9/15/2026 |
| 1.3.7 | 107 | 9/15/2026 |
| 1.3.6 | 108 | 9/15/2026 |
| 1.3.4 | 110 | 9/14/2026 |
| 1.3.3 | 109 | 9/14/2026 |
| 1.3.2 | 121 | 9/14/2026 |