Get started with the Azure Blob Storage client library v12 for .NET. Azure Blob Storage is Microsoft’s object storage solution for the cloud. Follow steps to install the package and try out example code for basic tasks. Blob storage is optimized for storing massive amounts of unstructured data.

Use the Azure Blob Storage client library v12 for .NET to:

  • Create a container
  • Upload a blob to Azure Storage
  • List all of the blobs in a container
  • Download the blob to your local computer
  • Delete a container

Install the package

While still in the application directory, install the Azure Blob Storage client library for .NET package by using the dotnet add package command.ConsoleCopy

dotnet add package Azure.Storage.Blobs

Note:

  • There is an older version of the Azure Storage SDK “WindowsAzure.Storage” that is more widely adopted than this newer version.

Sources:

https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-dotnet

https://docs.microsoft.com/en-us/dotnet/api/overview/azure/storage

Last modified: March 13, 2021

Author

Comments

Write a Reply or Comment