Server Version: 2019-02-02
Azure Storage is a Microsoft-managed service providing cloud storage that is highly available, secure, durable, scalable, and redundant. Azure Storage includes Azure Blobs (objects), Azure Data Lake Storage Gen2, Azure Files, and Azure Queues.
The Azure.Storage.Common library provides infrastructure shared by the other Azure Storage client libraries.
Source code | Package (NuGet) | API reference documentation | REST API documentation | Product documentation
Install the Azure Storage client library for .NET you'd like to use with
NuGet and the Azure.Storage.Common
client library will be included:
dotnet add package Azure.Storage.Blobs --version 12.0.0-preview.4
dotnet add package Azure.Storage.Queues --version 12.0.0-preview.4
dotnet add package Azure.Storage.Files.Shares --version 12.0.0-preview.4
You need an Azure subscription and a Storage Account to use this package.
To create a new Storage Account, you can use the Azure Portal, Azure PowerShell, or the Azure CLI. Here's an example using the Azure CLI:
az storage account create --name MyStorageAccount --resource-group MyResourceGroup --location westus --sku Standard_LRS
The Azure Storage Common client library contains shared infrastructure like authentication credentials and RequestFailedException.
Please see the examples for Blobs, Queues, and Files.
All Azure Storage services will throw a RequestFailedException
with helpful ErrorCode
s.
Get started with our Common samples and then continue on with our Blobs, Queues, and Files samples.
See the Storage CONTRIBUTING.md for details on building, testing, and contributing to these libraries.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit cla.microsoft.com.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.