Soenneker.Blob.Suite
11.0.7886
Prefix Reserved
dotnet add package Soenneker.Blob.Suite --version 11.0.7886
NuGet\Install-Package Soenneker.Blob.Suite -Version 11.0.7886
<PackageReference Include="Soenneker.Blob.Suite" Version="11.0.7886" />
<PackageVersion Include="Soenneker.Blob.Suite" Version="11.0.7886" />
<PackageReference Include="Soenneker.Blob.Suite" />
paket add Soenneker.Blob.Suite --version 11.0.7886
#r "nuget: Soenneker.Blob.Suite, 11.0.7886"
#:package Soenneker.Blob.Suite@11.0.7886
#addin nuget:?package=Soenneker.Blob.Suite&version=11.0.7886
#tool nuget:?package=Soenneker.Blob.Suite&version=11.0.7886
Soenneker.Blob.Suite
Installs and registers the Soenneker utilities for copying, deleting, downloading, uploading, and accessing Azure Blob Storage.
Installation
dotnet add package Soenneker.Blob.Suite
Install the individual packages instead when an application needs only part of the suite.
Configuration
{
"Environment": "Production",
"Azure": {
"Storage": {
"Blob": {
"ConnectionString": "<connection string>",
"AccountName": "<storage account name>",
"AccountKey": "<storage account key>"
}
}
}
}
The connection string is used for normal Blob operations. The account name, account key, and environment are required by the SAS utility registered through the upload package.
Registration
using Microsoft.Extensions.DependencyInjection;
using Soenneker.Blob.Suite.Registrars;
services.AddBlobSuiteAsSingleton();
Use AddBlobSuiteAsScoped() when the utilities should follow the consuming dependency-injection scope.
Registered utilities
| Interface | Purpose |
|---|---|
IBlobCopyUtil |
Copies blobs within or between containers |
IBlobDeleteUtil |
Deletes individual blobs or a virtual directory prefix |
IBlobDownloadUtil |
Downloads blobs to temporary files, memory, or text |
IBlobServiceUtil |
Provides the underlying Azure BlobServiceClient |
IBlobUploadUtil |
Uploads files, streams, bytes, or text |
IBlobSasUtil |
Creates signed read URLs; registered as an upload dependency |
Soenneker.Blob.Fetch is not included. Add that package separately when blob metadata listing is needed.
Usage
Inject only the utility needed by each consumer:
using Soenneker.Blob.Download.Abstract;
using Soenneker.Blob.Upload.Abstract;
public sealed class AssetStore
{
private readonly IBlobUploadUtil _uploads;
private readonly IBlobDownloadUtil _downloads;
public AssetStore(IBlobUploadUtil uploads, IBlobDownloadUtil downloads)
{
_uploads = uploads;
_downloads = downloads;
}
public async ValueTask UploadManifest(
string json,
CancellationToken cancellationToken)
{
_ = await _uploads.Upload(
"assets",
"manifest.json",
json,
contentType: "application/json",
cancellationToken: cancellationToken);
}
public ValueTask<string> DownloadManifest(CancellationToken cancellationToken)
{
return _downloads.DownloadToString(
"assets",
"manifest.json",
cancellationToken: cancellationToken);
}
}
The upload method returns Azure's Response<BlobContentInfo> when the caller needs the service response. See each component package for operation-specific ownership, buffering, and error behavior.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Blob.Copy (>= 11.0.1139)
- Soenneker.Blob.Delete (>= 11.0.3182)
- Soenneker.Blob.Download (>= 11.0.3724)
- Soenneker.Blob.Service (>= 11.0.2665)
- Soenneker.Blob.Upload (>= 11.0.3353)
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 |
|---|---|---|
| 11.0.7886 | 0 | 11/15/2026 |
| 11.0.7885 | 52 | 11/12/2026 |
| 11.0.7884 | 48 | 11/11/2026 |
| 11.0.7883 | 53 | 11/11/2026 |
| 11.0.7882 | 56 | 11/11/2026 |
| 11.0.7881 | 54 | 11/11/2026 |
| 11.0.7880 | 46 | 11/11/2026 |
| 11.0.7879 | 47 | 11/11/2026 |
| 11.0.7878 | 53 | 11/11/2026 |
| 11.0.7877 | 48 | 11/11/2026 |
| 11.0.7875 | 50 | 11/11/2026 |
| 11.0.7873 | 53 | 11/11/2026 |
| 11.0.7872 | 48 | 11/11/2026 |
| 11.0.7870 | 52 | 11/11/2026 |
| 11.0.7869 | 98 | 11/3/2026 |
| 11.0.7867 | 89 | 11/3/2026 |
| 11.0.7866 | 91 | 11/3/2026 |
| 11.0.7865 | 90 | 11/3/2026 |
| 11.0.7864 | 87 | 11/3/2026 |
| 11.0.7863 | 88 | 11/3/2026 |
Update dependency Soenneker.Blob.Upload to 11.0.3353 (#8849)