An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

storagecontextlib

A unified abstraction library for Azure Blob Storage and Amazon S3 operations with advanced features including: ✓ Multi-cloud support (Azure Blob Storage, Amazon S3) ✓ Multi-framework support (.NET 8.0, 9.0, 10.0) ✓ Batch operations for high-performance file processing (ReadBatch, WriteBatch, CopyBatch) ✓ Streaming support with chunked downloads for large files ✓ Async enumerable streaming for memory-efficient processing ✓ Built-in retry logic with exponential backoff ✓ Cross-storage account copy operations ✓ Directory listing with pattern matching ✓ Move operations with overwrite support ✓ Background service for connection pool management Perfect for applications requiring cloud-agnostic storage operations with enterprise-grade reliability. ## Quick Start // Configure multiple storage accounts services.AddSingleton<IEnumerable<IBlobStorageService>>(ctx => { var storageContext = new MultiContext { Azureprops = configuration.GetSection("AzureContext").Get<List<AzureStorageProps>>(), Amazonprops = configuration.GetSection("AmazonContext").Get<List<AmazonStorageProps>>() }; return storageContext.CreateService(); }); // Use in your services var storage = _storageServices.instance("myaccount", "container"); await storage.UploadBlobAsync("path/file.pdf", stream); var downloadStream = await storage.DownloadBlobAsync("path/file.pdf"); See GitHub repository for detailed examples and documentation.

Ecosystem
nuget.org
Latest Release
1.0.32
about 11 hours ago
Versions
21
Downloads
4,820 total
Links
Registry nuget.org
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:nuget/storagecontextlib
spec
License MIT
First Release about 2 years ago
Last Synced about 11 hours ago