Azure Blob Storage

Azure Blob Storage

Azure Blob Storage is an object storage service that lets you store any amount of data, from a single file to mutliten terabytes, at any scale. You can use it for archiving, backup, web content distribution, and many other use cases.

Key Features

Storage Account Types

There are three storage account types:

Example: Creating a Blob


// C# Example
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Blob;

// Connection string
string storageAccountKey = "YOUR_STORAGE_ACCOUNT_KEY";
string containerName = "yourcontainername";
string blobName = "yourblobname.txt";

// Create Blob Client
BlobClient blobClient = new BlobClient(new Uri("https://yourstorageaccount.blob.core.windows.net/" + containerName + "/" + blobName), new StorageAccountCredential(storageAccountKey));

// Upload Blob
await blobClient.UploadAsync();