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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Cloudinary.HttpClients" Version="4.0.132" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Cloudinary.HttpClients" Version="4.0.132" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Cloudinary.HttpClients" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Cloudinary.HttpClients --version 4.0.132
                    
#r "nuget: Soenneker.Cloudinary.HttpClients, 4.0.132"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Cloudinary.HttpClients@4.0.132
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Cloudinary.HttpClients&version=4.0.132
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Cloudinary.HttpClients&version=4.0.132
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed