DKNet.Svc.BlobStorage.AzureStorage 13.3.1

dotnet add package DKNet.Svc.BlobStorage.AzureStorage --version 13.3.1
                    
NuGet\Install-Package DKNet.Svc.BlobStorage.AzureStorage -Version 13.3.1
                    
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="DKNet.Svc.BlobStorage.AzureStorage" Version="13.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DKNet.Svc.BlobStorage.AzureStorage" Version="13.3.1" />
                    
Directory.Packages.props
<PackageReference Include="DKNet.Svc.BlobStorage.AzureStorage" />
                    
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 DKNet.Svc.BlobStorage.AzureStorage --version 13.3.1
                    
#r "nuget: DKNet.Svc.BlobStorage.AzureStorage, 13.3.1"
                    
#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 DKNet.Svc.BlobStorage.AzureStorage@13.3.1
                    
#: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=DKNet.Svc.BlobStorage.AzureStorage&version=13.3.1
                    
Install as a Cake Addin
#tool nuget:?package=DKNet.Svc.BlobStorage.AzureStorage&version=13.3.1
                    
Install as a Cake Tool

DKNet.Svc.BlobStorage.AzureStorage

Azure Blob Storage implementation of IBlobService for .NET developers, backed by Azure.Storage.Blobs.

✨ Why use it?

  • Authenticate with a connection string or your own managed-identity client — no separate credential plumbing.
  • Skip the container-provisioning step — the configured container is created on first use if missing.
  • Hand out read-only share links out of the box via SAS URIs scoped to a single blob.
  • Get folder semantics over Azure's flat namespace — deleting a folder walks the prefix tree for you.

🚀 Quick Start

dotnet new console -f net10.0 -n AzureBlobDemo
cd AzureBlobDemo
dotnet add package DKNet.Svc.BlobStorage.AzureStorage
dotnet add package Microsoft.Extensions.Logging
using DKNet.Svc.BlobStorage.Abstractions;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

var config = new ConfigurationBuilder()
    .AddInMemoryCollection(new Dictionary<string, string?>
    {
        ["BlobService:AzureStorage:ConnectionString"] = "UseDevelopmentStorage=true",
        ["BlobService:AzureStorage:ContainerName"] = "documents"
    })
    .Build();

var services = new ServiceCollection().AddLogging().AddAzureStorageAdapter(config);
using var provider = services.BuildServiceProvider();
var blobService = provider.GetRequiredService<IBlobService>();

var location = await blobService.SaveAsync(
    new BlobDetails.BlobData("reports/monthly.pdf", BinaryData.FromString("...")) { Overwrite = true });
Console.WriteLine(location);

Run with dotnet run.

Documentation

Guide Read when
Package overview Start with architecture and the end-to-end flow.
Configure the Azure blob client Choose connection-string or managed-identity auth, and work with save, SAS URLs, and folder delete.
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
13.3.1 29 10/26/2026
13.3.0 67 10/22/2026
13.2.8 57 10/22/2026
13.2.7 126 10/11/2026
13.2.6 90 10/10/2026
13.2.5 119 10/2/2026
13.2.4 102 10/1/2026
13.2.3 107 10/1/2026
13.2.2 94 10/1/2026
13.2.1 98 10/1/2026
13.2.0 101 10/1/2026
13.1.3 112 9/21/2026
13.1.2 112 9/18/2026
13.1.1 106 9/18/2026
13.1.0 103 9/18/2026
13.0.2 104 9/18/2026
13.0.1 98 9/18/2026
13.0.0 107 9/18/2026
12.0.0 111 9/17/2026
11.0.0 108 9/17/2026
Loading failed