{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:nuget/storagecontextlib","name":"storagecontextlib","description":"A unified abstraction library for Azure Blob Storage and Amazon S3 operations with advanced features including:\n\n\t\t\t✓ Multi-cloud support (Azure Blob Storage, Amazon S3)\n\t\t\t✓ Multi-framework support (.NET 8.0, 9.0, 10.0)\n\t\t\t✓ Batch operations for high-performance file processing (ReadBatch, WriteBatch, CopyBatch)\n\t\t\t✓ Streaming support with chunked downloads for large files\n\t\t\t✓ Async enumerable streaming for memory-efficient processing\n\t\t\t✓ Built-in retry logic with exponential backoff\n\t\t\t✓ Cross-storage account copy operations\n\t\t\t✓ Directory listing with pattern matching\n\t\t\t✓ Move operations with overwrite support\n\t\t\t✓ Background service for connection pool management\n\n\t\t\tPerfect for applications requiring cloud-agnostic storage operations with enterprise-grade reliability.\n\n\t\t\t## Quick Start\n\n\t\t\t// Configure multiple storage accounts\n\t\t\tservices.AddSingleton\u003cIEnumerable\u003cIBlobStorageService\u003e\u003e(ctx =\u003e {\n\t\t\tvar storageContext = new MultiContext {\n\t\t\tAzureprops = configuration.GetSection(\"AzureContext\").Get\u003cList\u003cAzureStorageProps\u003e\u003e(),\n\t\t\tAmazonprops = configuration.GetSection(\"AmazonContext\").Get\u003cList\u003cAmazonStorageProps\u003e\u003e()\n\t\t\t};\n\t\t\treturn storageContext.CreateService();\n\t\t\t});\n\n\t\t\t// Use in your services\n\t\t\tvar storage = _storageServices.instance(\"myaccount\", \"container\");\n\t\t\tawait storage.UploadBlobAsync(\"path/file.pdf\", stream);\n\t\t\tvar downloadStream = await storage.DownloadBlobAsync(\"path/file.pdf\");\n\n\t\t\tSee GitHub repository for detailed examples and documentation.","version":"1.0.33","softwareVersion":"1.0.33","license":"https://spdx.org/licenses/MIT","url":"https://dev.azure.com/PracticeEHR/PracticeEHR-Enterprise/_git/Blob-Rest-Api","keywords":["azure","blob","storage","s3","amazon","aws","cloud","multi-cloud","async","streaming","batch","upload","download","copy","nuget","net8","net9","net10"],"maintainer":[{"@type":"Person","name":"hhabib44"}],"author":[{"@type":"Person","name":"hhabib44"}],"copyrightHolder":[{"@type":"Person","name":"hhabib44"}],"dateCreated":"2024-02-14","dateModified":"2026-04-29","datePublished":"2026-04-29","copyrightYear":2024,"downloadUrl":"https://api.nuget.org/v3-flatcontainer/storagecontextlib/1.0.33/storagecontextlib.1.0.33.nupkg","applicationCategory":"nuget","runtimePlatform":"nuget","sameAs":["https://www.nuget.org/packages/storagecontextlib/"]}