.NET CoreでAzure Blob Storageを操作するサンプル
- .NET Core 2.2
- Azure Blob Storage
- Storage Emulator
- ServiceCollectionにBlobStorageServiceを登録し、アプリケーション内で利用する。
serviceCollection.AddSingleton<IBlobStorageService>(factory => new BlobStorageService(configuration["ConnectionStrings:StorageConnection"]));