Azure Storage samples using .NET

.NET sample index

The following table provides an overview of our samples repository and the scenarios covered in each sample. Click on the links to view the corresponding sample code in GitHub.



EndpointScenarioSample Code
Blob Append Blob CloudBlobContainer.GetAppendBlobReference Method Example
Block Blob Azure Blob Storage Photo Gallery Web Application
Client-Side Encryption Blob Encryption Samples
Copy Blob Getting Started with Blobs
Create Container Azure Blob Storage Photo Gallery Web Application
Delete Blob Azure Blob Storage Photo Gallery Web Application
Delete Container Getting Started with Blobs
Blob Metadata/Properties/Stats Getting Started with Blobs
Container ACL/Metadata/Properties Azure Blob Storage Photo Gallery Web Application
Get Page Ranges Getting Started with Blobs
Lease Blob/Container Getting Started with Blobs
List Blob/Container Getting Started with Blobs
Page Blob Getting Started with Blobs
SAS Getting Started with Blobs
Service Properties Getting Started with Blobs
Snapshot Blob Backup Azure Virtual Machine Disks with Incremental Snapshots
File Create Shares/Directories/Files Azure Storage .NET File Storage Sample
Delete Shares/Directories/Files Getting Started with Azure File Service in .NET
Directory Properties/Metadata Azure Storage .NET File Storage Sample
Download Files Azure Storage .NET File Storage Sample
File Properties/Metadata/Metrics Azure Storage .NET File Storage Sample
File Service Properties Azure Storage .NET File Storage Sample
List Directories and Files Azure Storage .NET File Storage Sample
List Shares Azure Storage .NET File Storage Sample
Share Properties/Metadata/Stats Azure Storage .NET File Storage Sample
Queue Add Message Getting Started with Azure Queue Service in .NET
Client-Side Encryption Azure Storage .NET Queue Client-Side Encryption
Create Queues Getting Started with Azure Queue Service in .NET
Delete Message/Queue Getting Started with Azure Queue Service in .NET
Peek Message Getting Started with Azure Queue Service in .NET
Queue ACL/Metadata/Stats Getting Started with Azure Queue Service in .NET
Queue Service Properties Getting Started with Azure Queue Service in .NET
Update Message Getting Started with Azure Queue Service in .NET
Table Create Table Managing Concurrency using Azure Storage - Sample Application
Delete Entity/Table Getting Started with Azure Table Storage in .NET
Insert/Merge/Replace Entity Managing Concurrency using Azure Storage - Sample Application
Query Entities Getting Started with Azure Table Storage in .NET
Query Tables Getting Started with Azure Table Storage in .NET
Table ACL/Properties Getting Started with Azure Table Storage in .NET
Update Entity Managing Concurrency using Azure Storage - Sample Application

Azure Code Samples library

To view the complete sample library, go to the Azure Code Samples library, which includes samples for Azure Storage that you can download and run locally. The Code Sample Library provides sample code in .zip format. Alternatively, you can browse and clone the GitHub repository for each sample.

.NET sample code repositories

Here is a list of all our sample repositories for the Azure Storage .NET client library.

Getting started guides

Check out the following guides if you are looking for instructions on how to install and get started with the Azure Storage Client Libraries.

Next steps

For information on samples for other languages: