Azure Storage Management SDK for .NET

Manage your Azure Storage resources programmatically using this powerful SDK.

Overview

The Azure Storage Management SDK for .NET allows you to interact with Azure Storage services such as Blob Storage, Queue Storage, Table Storage, and File Storage using C# or .NET.

This SDK provides a simplified and intuitive API for common storage operations, including:

Getting Started

To get started, you'll need the SDK installed. You can install it using NuGet:

            
                Install-Package Azure.Storage.Common
            
        

Documentation

For detailed information and tutorials, please refer to the official Microsoft documentation.

Example Code

            
                using Azure.Storage.Blob;
                using System.Threading.Tasks;

                public async Task UploadBlobAsync(string containerName, string blobName, byte[] data)
                {
                    BlobServiceClient blobServiceClient = new BlobServiceClient("your_connection_string");
                    BlobContainerClient containerClient = blobServiceClient.GetBlobContainerClient(containerName);
                    BlobClient blobClient = containerClient.GetBlobClient(blobName);

                    await blobClient.UploadAsync(data, null, FileMode.FromBytes);

                    return blobClient.Uri.AbsoluteUri;
                }