BrighterTools.FileStorage.AzureBlob 1.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BrighterTools.FileStorage.AzureBlob --version 1.2.0
                    
NuGet\Install-Package BrighterTools.FileStorage.AzureBlob -Version 1.2.0
                    
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="BrighterTools.FileStorage.AzureBlob" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BrighterTools.FileStorage.AzureBlob" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="BrighterTools.FileStorage.AzureBlob" />
                    
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 BrighterTools.FileStorage.AzureBlob --version 1.2.0
                    
#r "nuget: BrighterTools.FileStorage.AzureBlob, 1.2.0"
                    
#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 BrighterTools.FileStorage.AzureBlob@1.2.0
                    
#: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=BrighterTools.FileStorage.AzureBlob&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=BrighterTools.FileStorage.AzureBlob&version=1.2.0
                    
Install as a Cake Tool

BrighterTools.FileStorage.AzureBlob

Azure Blob provider for the BrighterTools.FileStorage abstractions. Version 1.1.0 adds cancellable streaming, exact-version reads, immutable streaming writes, recursive inventory and private-container validation. Existing buffered APIs remain available for compatibility.

services.AddBrighterToolsAzureBlobFileStorage(configuration);
{
  "AzureBlobStorage": {
    "ConnectionString": "<secret>",
    "ContainerName": "private-files"
  }
}

Only ConnectionString and ContainerName are required. AccountName/AccountKey are needed only for the older shared-key GetSignedUrl API. PublicBaseUrl is optional; API-proxied private files do not need a public endpoint, CDN or signed storage URL. Use the explicit-client constructor for a host-owned TokenCredential/managed-identity BlobServiceClient; Azure.Identity belongs to that host when required.

Private API-served files

  1. The host authorizes a logical artifact identifier using its database ownership rules.
  2. IPrivateFileStorage.EnsurePrivateAsync verifies an existing private container. This only reads container properties; it never creates a container or changes ACLs.
  3. For uploads use IImmutableStreamFileStorage.CreateImmutableStreamAsync with the exact object key, length, content type, cancellation token and operation timeout. Buffer use is bounded, the caller retains stream ownership, and existing keys cannot be overwritten. False means an existing key, not a verified upload.
  4. For reads use IStreamingFileStorage.ReadMetadataAsync followed by OpenReadRangeAsync using that observed metadata. Reads are ETag-pinned, have exact range validation, cancellation and an inactivity timeout. Dispose the returned stream. No local temporary download or whole-file buffer is needed.

The host owns HTTP status/range/cache semantics, file naming and authorization. Container privacy alone does not authorize users. A GUID is not an access token. The streaming APIs preserve exact object keys and require pre-existing containers. The old UploadFile API still normalizes names and buffers for backward compatibility.

Azure dependencies: Azure.Storage.Blobs 12.30.1, Azure.Storage.Common 12.29.0 (transitive), Azure.Core 1.64.0. Verified against NuGet on 4 November 2026.

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

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
1.3.0 102 11/12/2026
1.2.0 103 11/5/2026
1.1.1 98 11/4/2026
1.1.0 102 11/4/2026
1.0.1 135 9/17/2026

v1.2.0 - Bounded cancellable deletion with observed-version checks and permanent-seal protection.