JxNet.Storage.Cloudflare.Extensions
0.1.0-alpha
This is a prerelease version of JxNet.Storage.Cloudflare.Extensions.
dotnet add package JxNet.Storage.Cloudflare.Extensions --version 0.1.0-alpha
NuGet\Install-Package JxNet.Storage.Cloudflare.Extensions -Version 0.1.0-alpha
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="JxNet.Storage.Cloudflare.Extensions" Version="0.1.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JxNet.Storage.Cloudflare.Extensions" Version="0.1.0-alpha" />
<PackageReference Include="JxNet.Storage.Cloudflare.Extensions" />
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 JxNet.Storage.Cloudflare.Extensions --version 0.1.0-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JxNet.Storage.Cloudflare.Extensions, 0.1.0-alpha"
#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 JxNet.Storage.Cloudflare.Extensions@0.1.0-alpha
#: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=JxNet.Storage.Cloudflare.Extensions&version=0.1.0-alpha&prerelease
#tool nuget:?package=JxNet.Storage.Cloudflare.Extensions&version=0.1.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
JxNet.Storage.Cloudflare.Extensions
Cloudflare R2 (S3-compatible) IObjectStorageProvider: multipart initiate, delete, signed/public download access, and content-length.
Install
<PackageReference Include="JxNet.Storage.Cloudflare.Extensions" Version="0.1.0-alpha" />
Also needs JxNet.Storage.Abstractions (brought transitively).
Feed: https://pkgs.dev.azure.com/ezufy/_packaging/JxNext/nuget/v3/index.json
Host usage (standalone)
services.AddJxNetCloudflareR2StorageFromConfiguration(configuration);
services.AddJxNetObjectStorageResolver(configuration); // from Abstractions
{
"Storage": {
"ActiveProvider": "CLOUDFLARE_R2",
"CloudflareR2": {
"AccountId": "...",
"Bucket": "...",
"AccessKeyId": "...",
"SecretAccessKey": "...",
"Endpoint": "",
"PublicBaseUrl": "",
"Region": "auto"
}
}
}
Endpointoptional — defaults tohttps://{AccountId}.r2.cloudflarestorage.com.PublicBaseUrloptional — when set, download access returns a public URL; otherwise a time-limited presigned GET.- When
ActiveProvider=CLOUDFLARE_R2and required R2 settings are empty, provider operations fail withCloudflareR2.NotConfigured(no silent Azure fallback).
Upload credentials (opaque)
InitiateUploadAsync creates a multipart upload and returns UploadCredentials keys:
| Key | Purpose |
|---|---|
endpoint |
S3 API endpoint |
bucket |
R2 bucket |
region |
Usually auto |
accessKeyId / secretAccessKey |
Scoped R2 API token (prefer least privilege) |
uploadId |
Multipart upload id |
putUrl |
Optional single-shot presigned PUT (small files) |
forcePathStyle |
true |
Configuration section: Storage:CloudflareR2.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- AWSSDK.S3 (>= 4.0.102.4)
- JxNet.Storage.Abstractions (>= 0.1.1-alpha)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
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 |
|---|---|---|
| 0.1.0-alpha | 76 | 9/4/2026 |