Azure.Storage.Common 12.19.0
Azure Storage Common client library for .NET
Server Version: 2021-02-12, 2020-12-06, 2020-10-02, 2020-08-04, 2020-06-12, 2020-04-08, 2020-02-10, 2019-12-12, 2019-07-07, and 2020-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
Getting started
Install the package
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
dotnet add package Azure.Storage.Queues
dotnet add package Azure.Storage.Files.Shares
Prerequisites
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
Key concepts
The Azure Storage Common client library contains shared infrastructure like authentication credentials and RequestFailedException.
Thread safety
We guarantee that all client instance methods are thread-safe and independent of each other (guideline). This ensures that the recommendation of reusing client instances is always safe, even across threads.
Additional concepts
Client options | Accessing the response | Long-running operations | Handling failures | Diagnostics | Mocking | Client lifetime
Examples
Please see the examples for Blobs, Queues, and Files.
Troubleshooting
All Azure Storage services will throw a RequestFailedException
with helpful ErrorCode
s.
Next steps
Get started with our Common samples and then continue on with our Blobs, Queues, and Files samples.
Contributing
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 opencode@microsoft.com with any additional questions or comments.
No packages depend on Azure.Storage.Common.
.NET 6.0
- Azure.Core (>= 1.39.0)
- System.IO.Hashing (>= 6.0.0)
.NET Standard 2.0
- Azure.Core (>= 1.39.0)
- System.IO.Hashing (>= 6.0.0)
Version | Downloads | Last updated |
---|---|---|
12.22.0-beta.2 | 8 | 10/15/2024 |
12.22.0-beta.1 | 9 | 10/11/2024 |
12.21.1 | 10 | 10/15/2024 |
12.21.0 | 12 | 9/19/2024 |
12.21.0-beta.1 | 15 | 8/7/2024 |
12.20.1 | 16 | 7/26/2024 |
12.20.0 | 16 | 7/19/2024 |
12.20.0-beta.1 | 19 | 6/11/2024 |
12.19.0 | 11 | 5/16/2024 |
12.19.0-beta.2 | 16 | 4/18/2024 |
12.19.0-beta.1 | 22 | 12/8/2023 |
12.18.1 | 21 | 11/15/2023 |
12.18.0 | 25 | 11/7/2023 |
12.18.0-beta.1 | 32 | 10/22/2023 |
12.17.0 | 37 | 9/16/2023 |
12.17.0-beta.1 | 32 | 8/22/2023 |
12.16.0 | 30 | 8/22/2023 |
12.16.0-beta.1 | 33 | 7/1/2023 |
12.15.0 | 39 | 4/12/2023 |
12.15.0-beta.1 | 28 | 4/12/2023 |
12.14.1 | 34 | 4/12/2023 |
12.14.0 | 31 | 4/2/2023 |
12.14.0-beta.1 | 35 | 4/12/2023 |
12.13.0 | 68 | 10/16/2022 |
12.13.0-beta.1 | 43 | 8/24/2022 |
12.12.0 | 56 | 7/12/2022 |
12.12.0-beta.1 | 46 | 8/23/2022 |
12.11.0 | 56 | 7/23/2022 |
12.11.0-beta.1 | 52 | 7/25/2022 |
12.10.0 | 44 | 7/21/2022 |
12.10.0-beta.3 | 45 | 8/2/2022 |
12.10.0-beta.2 | 52 | 7/17/2022 |
12.10.0-beta.1 | 43 | 7/30/2022 |
12.9.0 | 54 | 7/17/2022 |
12.9.0-beta.2 | 49 | 7/23/2022 |
12.9.0-beta.1 | 46 | 8/10/2022 |
12.8.0 | 47 | 7/23/2022 |
12.8.0-beta.4 | 48 | 7/21/2022 |
12.8.0-beta.3 | 46 | 7/23/2022 |
12.8.0-beta.2 | 46 | 7/31/2022 |
12.8.0-beta.1 | 47 | 7/30/2022 |
12.7.3 | 51 | 8/6/2022 |
12.7.2 | 57 | 7/23/2022 |
12.7.1 | 61 | 8/3/2022 |
12.7.0 | 47 | 7/22/2022 |
12.7.0-beta.1 | 44 | 8/2/2022 |
12.6.0 | 66 | 7/22/2022 |
12.6.0-preview.1 | 43 | 7/27/2022 |
12.5.2 | 52 | 8/11/2022 |
12.5.1 | 41 | 8/9/2022 |
12.5.0-preview.6 | 44 | 7/26/2022 |
12.5.0-preview.5 | 55 | 7/31/2022 |
12.5.0-preview.4 | 39 | 8/6/2022 |
12.5.0-preview.1 | 51 | 7/22/2022 |
12.4.3 | 49 | 7/27/2022 |
12.4.2 | 47 | 7/31/2022 |
12.4.1 | 43 | 7/31/2022 |
12.4.0 | 40 | 8/11/2022 |
12.3.0 | 54 | 7/31/2022 |
12.2.0 | 44 | 7/27/2022 |
12.1.1 | 52 | 8/23/2022 |
12.1.0 | 58 | 8/3/2022 |
12.0.0 | 51 | 7/21/2022 |
12.0.0-preview.4 | 59 | 7/23/2022 |
12.0.0-preview.3 | 48 | 7/25/2022 |
12.0.0-preview.2 | 55 | 8/23/2022 |
12.0.0-preview.1 | 58 | 8/12/2022 |
1.0.0-preview.1 | 51 | 7/22/2022 |