Soenneker.Cloudinary.HttpClients
4.0.132
Prefix Reserved
dotnet add package Soenneker.Cloudinary.HttpClients --version 4.0.132
NuGet\Install-Package Soenneker.Cloudinary.HttpClients -Version 4.0.132
<PackageReference Include="Soenneker.Cloudinary.HttpClients" Version="4.0.132" />
<PackageVersion Include="Soenneker.Cloudinary.HttpClients" Version="4.0.132" />
<PackageReference Include="Soenneker.Cloudinary.HttpClients" />
paket add Soenneker.Cloudinary.HttpClients --version 4.0.132
#r "nuget: Soenneker.Cloudinary.HttpClients, 4.0.132"
#:package Soenneker.Cloudinary.HttpClients@4.0.132
#addin nuget:?package=Soenneker.Cloudinary.HttpClients&version=4.0.132
#tool nuget:?package=Soenneker.Cloudinary.HttpClients&version=4.0.132
Soenneker.Cloudinary.HttpClients
Provides an owned, configured HttpClient for Cloudinary's generated OpenAPI client.
Installation
dotnet add package Soenneker.Cloudinary.HttpClients
Configuration
{
"Cloudinary": {
"ApiKey": "your-api-token",
"ClientBaseUrl": "https://api.cloudinary.com",
"AuthHeaderName": "Authorization",
"AuthHeaderValueTemplate": "Bearer {token}"
}
}
ApiKey is required. The other values show their defaults. {token} in the header template is replaced with the configured key, allowing integrations that require a different authorization scheme. Keep the resulting credential in a secret provider.
Registration and usage
using Soenneker.Cloudinary.HttpClients.Abstract;
using Soenneker.Cloudinary.HttpClients.Registrars;
services.AddCloudinaryOpenApiHttpClientAsSingleton();
HttpClient httpClient = await clientProvider.Get(cancellationToken);
Get returns the same client for the lifetime of the provider instance. It has the configured base address and authorization header but does not expose Cloudinary resource-specific convenience methods; Soenneker.Cloudinary.OpenApiClientUtil is the normal entry point for generated API operations.
The provider owns its cached client. Do not dispose the returned HttpClient directly. Let dependency injection dispose ICloudinaryOpenApiHttpClient, which removes and disposes that exact cache entry. Scoped providers use isolated entries, so disposing one scope does not tear down another provider's client.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- Soenneker.Extensions.Configuration (>= 4.0.895)
- Soenneker.Utils.HttpClientCache (>= 4.0.2090)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Cloudinary.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Cloudinary.OpenApiClientUtil
Provides a cached, authenticated Cloudinary OpenAPI client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.132 | 111 | 9/17/2026 |
| 4.0.131 | 78 | 9/16/2026 |
| 4.0.130 | 86 | 9/16/2026 |
| 4.0.129 | 79 | 9/16/2026 |
| 4.0.128 | 104 | 9/16/2026 |
| 4.0.127 | 84 | 9/15/2026 |
| 4.0.126 | 131 | 9/13/2026 |
| 4.0.125 | 98 | 9/13/2026 |
| 4.0.124 | 100 | 9/13/2026 |
| 4.0.123 | 100 | 9/13/2026 |
| 4.0.121 | 103 | 9/12/2026 |
| 4.0.120 | 128 | 9/12/2026 |
| 4.0.119 | 131 | 9/9/2026 |
| 4.0.118 | 116 | 9/9/2026 |
| 4.0.117 | 105 | 9/9/2026 |
| 4.0.116 | 107 | 9/8/2026 |
| 4.0.115 | 140 | 9/8/2026 |
| 4.0.114 | 103 | 9/8/2026 |
| 4.0.113 | 108 | 9/7/2026 |
| 4.0.112 | 119 | 9/7/2026 |