Skip to main content
net10.0net8.0

ASP.NET Core controllers that expose the Azure Storage REST API on top of any BlobServiceClient, TableServiceClient, and QueueServiceClient implementation.

Published
May 15, 2026
5mo ago
Total Downloads
606
606

Install

dotnet add package Iciclecreek.Azure.Storage.Server --version 1.0.0
ProductVersions
.NET
net10.0net8.0

README

icon

Build NuGet

Iciclecreek.Azure.Storage.Server

ASP.NET Core controllers that expose the Azure Storage REST API on top of any BlobServiceClient, TableServiceClient, and QueueServiceClient implementation. Pair with the FileSystem or SQLite provider to run a local Azure Storage-compatible server.

Installation

dotnet add package Iciclecreek.Azure.Storage.Server

Usage

Register the controllers

using Iciclecreek.Azure.Storage.Server;
using Iciclecreek.Azure.Storage.FileSystem;
using Iciclecreek.Azure.Storage.FileSystem.Blobs;
using Iciclecreek.Azure.Storage.FileSystem.Tables;
using Iciclecreek.Azure.Storage.FileSystem.Queues;

var builder = WebApplication.CreateBuilder(args);

// Set up the storage provider
var provider = new FileStorageProvider(@"C:\temp\my-storage");
var account  = provider.AddAccount("devaccount");

// Register Azure SDK clients in DI
builder.Services.AddSingleton(FileBlobServiceClient.FromAccount(account));
builder.Services.AddSingleton(FileTableServiceClient.FromAccount(account));
builder.Services.AddSingleton(FileQueueServiceClient.FromAccount(account));

// Add the storage server controllers
builder.Services.AddStorageServer();

var app = builder.Build();
app.MapStorageServer();
app.Run();

Use with any provider

The server works with any Azure SDK client implementation -- FileSystem, SQLite, or even the real Azure clients:

// SQLite provider
var provider = new SqliteStorageProvider(@"C:\temp\my-storage");
var account  = provider.AddAccount("devaccount");
builder.Services.AddSingleton(SqliteBlobServiceClient.FromAccount(account));
builder.Services.AddSingleton(SqliteTableServiceClient.FromAccount(account));
builder.Services.AddSingleton(SqliteQueueServiceClient.FromAccount(account));

Related Packages

Package Description
Iciclecreek.Azure.Storage.Memory Thread-safe in-memory blobs, tables, and queues
Iciclecreek.Azure.Storage.FileSystem Filesystem-backed blobs, tables, and queues
Iciclecreek.Azure.Storage.SQLite SQLite-backed blobs, tables, and queues

License

MIT

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.