CodeLogic.StorageS3
4.5.2
dotnet add package CodeLogic.StorageS3 --version 4.5.2
NuGet\Install-Package CodeLogic.StorageS3 -Version 4.5.2
<PackageReference Include="CodeLogic.StorageS3" Version="4.5.2" />
<PackageVersion Include="CodeLogic.StorageS3" Version="4.5.2" />
<PackageReference Include="CodeLogic.StorageS3" />
paket add CodeLogic.StorageS3 --version 4.5.2
#r "nuget: CodeLogic.StorageS3, 4.5.2"
#:package CodeLogic.StorageS3@4.5.2
#addin nuget:?package=CodeLogic.StorageS3&version=4.5.2
#tool nuget:?package=CodeLogic.StorageS3&version=4.5.2
CodeLogic.StorageS3
S3-compatible object storage library for CodeLogic. Works with Amazon S3, Cloudflare R2, MinIO, and any S3-compatible provider. Built on AWSSDK.S3.
Install
dotnet add package CodeLogic.StorageS3
Quick Start
await Libraries.LoadAsync<StorageS3Library>();
var s3 = Libraries.Get<StorageS3Library>();
var service = s3.DefaultService;
// Upload
using var stream = File.OpenRead("photo.webp");
var url = await service.PutObjectAsync("my-bucket", "uploads/photo.webp", stream, "image/webp");
// Download
var data = await service.GetObjectAsync("my-bucket", "uploads/photo.webp");
// Delete
await service.DeleteObjectAsync("my-bucket", "uploads/photo.webp");
// List objects
var objects = await service.ListObjectsAsync("my-bucket", prefix: "uploads/");
Features
- Upload / Download / Delete — standard object operations with stream support
- Multiple Connections — named connection IDs for multi-bucket or multi-provider setups
- Public URLs — configurable public URL prefix for CDN-served content
- Presigned URLs — generate temporary access URLs
- Cloudflare R2 — first-class support with
forcePathStyleanddisablePayloadSigning - Health Checks — verifies bucket accessibility
Configuration
Auto-generated at data/codelogic/Libraries/CL.StorageS3/config.storages3.json:
{
"enabled": true,
"connections": [
{
"connectionId": "Default",
"accessKey": "your-access-key",
"secretKey": "your-secret-key",
"serviceUrl": "https://xxx.r2.cloudflarestorage.com",
"publicUrl": "https://cdn.example.com",
"region": "auto",
"defaultBucket": "my-bucket",
"forcePathStyle": true,
"useHttps": true,
"disablePayloadSigning": true
}
]
}
Documentation
Requirements
- CodeLogic 3.x or 4.x | .NET 10
License
MIT — see LICENSE
| 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. |
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 |
|---|---|---|
| 4.5.2 | 90 | 5/24/2026 |
| 4.5.1 | 106 | 5/24/2026 |
| 4.5.1-preview.56 | 83 | 5/24/2026 |
| 4.4.2-preview.53 | 45 | 5/24/2026 |
| 4.4.1 | 88 | 5/24/2026 |
| 4.0.5 | 95 | 5/15/2026 |
| 4.0.4 | 99 | 5/9/2026 |
| 4.0.3 | 94 | 5/9/2026 |
| 3.3.1 | 674 | 4/18/2026 |
| 3.3.0 | 99 | 4/18/2026 |
| 3.2.11 | 118 | 4/18/2026 |
| 3.2.10 | 103 | 4/18/2026 |
| 3.2.9 | 97 | 4/18/2026 |
| 3.2.8 | 90 | 4/18/2026 |
| 3.2.7 | 91 | 4/18/2026 |
| 3.2.6 | 92 | 4/18/2026 |
| 3.2.5 | 91 | 4/18/2026 |
| 3.2.4 | 95 | 4/17/2026 |
| 3.2.3 | 101 | 4/17/2026 |
| 3.2.2 | 160 | 4/17/2026 |
# CL.StorageS3 — Changelog
All notable changes to **CodeLogic.StorageS3** are documented here. Versions follow
[Semantic Versioning](https://semver.org/).
## [4.5.0] — 2026-05-24
### Changed
- **Unified versioning.** All CodeLogic.Libs now share a single version line
controlled by `version.txt` in the repo root. This is a version alignment
release — no functional changes to this library.
## [4.0.4] — 2026-04-16
### Changed
- README + manifest refresh for the v4 baseline. No functional changes vs 4.0.3.
- `LibraryManifest.Version` now reads from assembly metadata.
## [4.0.2] — 2026-04-09
### Added
- `DisablePayloadSigning` option on `S3ConnectionConfig` for S3-compatible
endpoints (Backblaze B2, MinIO with signing off, etc.) that don't accept
signed payloads.
### Changed
- Annotated S3 configuration with `[ConfigField]` for the admin UI surface.
- Aligned with the v4 baseline across all libraries.
## [4.0.0] — 2026-04-09
Major rewrite. Republished as v4.0.0 to reset the version line under the
unified v4 baseline. S3-compatible object storage with multipart upload,
presigned URLs, and lifecycle helpers.
### Notes
- Earlier history is retained in the
[git log](https://github.com/Media2A/CodeLogic.Libs/commits/main/CL.StorageS3).