Skip to content

Commit 9ea57d5

Browse files
Merge pull request #87557 from mhopkins-msft/samples-index
Samples index
2 parents 2656971 + 1f4737d commit 9ea57d5

File tree

6 files changed

+249
-352
lines changed

6 files changed

+249
-352
lines changed

articles/storage/blobs/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@
8585
href: ../common/storage-samples-dotnet.md?toc=%2fazure%2fstorage%2fblobs%2ftoc.json
8686
- name: Java
8787
href: ../common/storage-samples-java.md?toc=%2fazure%2fstorage%2fblobs%2ftoc.json
88+
- name: Python
89+
href: ../common/storage-samples-python.md?toc=%2fazure%2fstorage%2fblobs%2ftoc.json
8890
- name: Azure PowerShell
8991
href: storage-samples-blobs-powershell.md
9092
- name: Azure CLI

articles/storage/common/storage-samples-dotnet.md

Lines changed: 61 additions & 171 deletions
Original file line numberDiff line numberDiff line change
@@ -4,186 +4,75 @@ description: View, download, and run sample code and applications for Azure Stor
44
author: mhopkins-msft
55

66
ms.author: mhopkins
7-
ms.date: 05/03/2019
7+
ms.date: 09/06/2019
88
ms.service: storage
99
ms.subservice: common
1010
ms.topic: sample
1111
---
1212

1313
# Azure Storage samples using .NET
1414

15-
## .NET sample index
16-
1715
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.
1816

19-
<table style="font-size:90%"><thead><tr><th style="font-size:110%">Endpoint</th><th style="font-size:110%">Scenario</th><th style="font-size:110%">Sample Code</th></tr></thead><tbody>
20-
<tr>
21-
<td rowspan="16"><b>Blob</b></td>
22-
<td>Append Blob</td>
23-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs#L1144">Getting Started with Blobs</a></td>
24-
</tr>
25-
<tr>
26-
<td>Block Blob</td>
27-
<td><a href="https://github.com/Azure-Samples/storage-blobs-dotnet-webapp/blob/master/WebApp-Storage-DotNet/Controllers/HomeController.cs">Azure Blob Storage Photo Gallery Web Application</a></td>
28-
</tr>
29-
<tr>
30-
<td>Client-Side Encryption</td>
31-
<td><a href="https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/EncryptionSamples/BlobGettingStarted/Program.cs">Blob Encryption Samples</a></td>
32-
</tr>
33-
<tr>
34-
<td>Copy Blob</td>
35-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs">Getting Started with Blobs</a></td>
36-
</tr>
37-
<tr>
38-
<td>Create Container</td>
39-
<td><a href="https://github.com/Azure-Samples/storage-blobs-dotnet-webapp/blob/master/WebApp-Storage-DotNet/Controllers/HomeController.cs">Azure Blob Storage Photo Gallery Web Application</a></td>
40-
</tr>
41-
<tr>
42-
<td>Delete Blob</td>
43-
<td><a href="https://github.com/Azure-Samples/storage-blobs-dotnet-webapp/blob/master/WebApp-Storage-DotNet/Controllers/HomeController.cs">Azure Blob Storage Photo Gallery Web Application</a></td>
44-
</tr>
45-
<tr>
46-
<td>Delete Container</td>
47-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs">Getting Started with Blobs</a></td>
48-
</tr>
49-
<tr>
50-
<td>Blob Metadata/Properties/Stats</td>
51-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs">Getting Started with Blobs</a></td>
52-
</tr>
53-
<tr>
54-
<td>Container ACL/Metadata/Properties</td>
55-
<td><a href="https://github.com/Azure-Samples/storage-blobs-dotnet-webapp/blob/master/WebApp-Storage-DotNet/Controllers/HomeController.cs">Azure Blob Storage Photo Gallery Web Application</a></td>
56-
</tr>
57-
<tr>
58-
<td>Get Page Ranges</td>
59-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs">Getting Started with Blobs</a></td>
60-
</tr>
61-
<tr>
62-
<td>Lease Blob/Container</td>
63-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs">Getting Started with Blobs</a></td>
64-
</tr>
65-
<tr>
66-
<td>List Blob/Container</td>
67-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/GettingStarted.cs">Getting Started with Blobs</a></td>
68-
</tr>
69-
<tr>
70-
<td>Page Blob</td>
71-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/GettingStarted.cs">Getting Started with Blobs</a></td>
72-
</tr>
73-
<tr>
74-
<td>SAS</td>
75-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs">Getting Started with Blobs</a></td>
76-
</tr>
77-
<tr>
78-
<td>Service Properties</td>
79-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs">Getting Started with Blobs</a></td>
80-
</tr>
81-
<tr>
82-
<td>Snapshot Blob</td>
83-
<td><a href="https://github.com/Azure-Samples/storage-blob-dotnet-back-up-with-incremental-snapshots/blob/master/Program.cs">Backup Azure Virtual Machine Disks with Incremental Snapshots</a></td>
84-
</tr>
85-
<tr>
86-
<td rowspan="9"><b>File</b></td>
87-
<td>Create Shares/Directories/Files</td>
88-
<td><a href="https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/VisualStudioQuickStarts/DataFileStorage/Program.cs">Azure Storage .NET File Storage Sample</a></td>
89-
</tr>
90-
<tr>
91-
<td>Delete Shares/Directories/Files</td>
92-
<td><a href="https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/master/FileStorage/GettingStarted.cs">Getting Started with Azure File Service in .NET</a></td>
93-
</tr>
94-
<tr>
95-
<td>Directory Properties/Metadata</td>
96-
<td><a href="https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs">Azure Storage .NET File Storage Sample</a></td>
97-
</tr>
98-
<tr>
99-
<td>Download Files</td>
100-
<td><a href="https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/VisualStudioQuickStarts/DataFileStorage/Program.cs">Azure Storage .NET File Storage Sample</a></td>
101-
</tr>
102-
<tr>
103-
<td>File Properties/Metadata/Metrics</td>
104-
<td><a href="https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs">Azure Storage .NET File Storage Sample</a></td>
105-
</tr>
106-
<tr>
107-
<td>File Service Properties</td>
108-
<td><a href="https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs">Azure Storage .NET File Storage Sample</a></td>
109-
</tr>
110-
<tr>
111-
<td>List Directories and Files</td>
112-
<td><a href="https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/VisualStudioQuickStarts/DataFileStorage/Program.cs">Azure Storage .NET File Storage Sample</a></td>
113-
</tr>
114-
<tr>
115-
<td>List Shares</td>
116-
<td><a href="https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs">Azure Storage .NET File Storage Sample</a></td>
117-
</tr>
118-
<tr>
119-
<td>Share Properties/Metadata/Stats</td>
120-
<td><a href="https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs">Azure Storage .NET File Storage Sample</a></td>
121-
</tr>
122-
<tr>
123-
<td rowspan="8"><b>Queue</b></td>
124-
<td>Add Message</td>
125-
<td><a href="https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs">Getting Started with Azure Queue Service in .NET</a></td>
126-
</tr>
127-
<tr>
128-
<td>Client-Side Encryption</td>
129-
<td><a href="https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/EncryptionSamples/QueueGettingStarted/Program.cs">Azure Storage .NET Queue Client-Side Encryption</a></td>
130-
</tr>
131-
<tr>
132-
<td>Create Queues</td>
133-
<td><a href="https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs">Getting Started with Azure Queue Service in .NET</a></td>
134-
</tr>
135-
<tr>
136-
<td>Delete Message/Queue</td>
137-
<td><a href="https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs">Getting Started with Azure Queue Service in .NET</a></td>
138-
</tr>
139-
<tr>
140-
<td>Peek Message</td>
141-
<td><a href="https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs">Getting Started with Azure Queue Service in .NET</a></td>
142-
</tr>
143-
<tr>
144-
<td>Queue ACL/Metadata/Stats</td>
145-
<td><a href="https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/Advanced.cs">Getting Started with Azure Queue Service in .NET</a></td>
146-
</tr>
147-
<tr>
148-
<td>Queue Service Properties</td>
149-
<td><a href="https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/Advanced.cs">Getting Started with Azure Queue Service in .NET</a></td>
150-
</tr>
151-
<tr>
152-
<td>Update Message</td>
153-
<td><a href="https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs">Getting Started with Azure Queue Service in .NET</a></td>
154-
</tr>
155-
<tr>
156-
<td rowspan="7"><b>Table</b></td>
157-
<td>Create Table</td>
158-
<td><a href="https://code.msdn.microsoft.com/Managing-Concurrency-using-56018114/sourcecode?fileId=123913&pathId=50196262">Managing Concurrency using Azure Storage - Sample Application</a></td>
159-
</tr>
160-
<tr>
161-
<td>Delete Entity/Table</td>
162-
<td><a href="https://github.com/Azure-Samples/storage-table-dotnet-getting-started/blob/master/TableStorage/BasicSamples.cs">Getting Started with Azure Table Storage in .NET</a></td>
163-
</tr>
164-
<tr>
165-
<td>Insert/Merge/Replace Entity</td>
166-
<td><a href="https://code.msdn.microsoft.com/Managing-Concurrency-using-56018114/sourcecode?fileId=123913&pathId=50196262">Managing Concurrency using Azure Storage - Sample Application</a></td>
167-
</tr>
168-
<tr>
169-
<td>Query Entities</td>
170-
<td><a href="https://github.com/Azure-Samples/storage-table-dotnet-getting-started/blob/master/TableStorage/BasicSamples.cs">Getting Started with Azure Table Storage in .NET</a></td>
171-
</tr>
172-
<tr>
173-
<td>Query Tables</td>
174-
<td><a href="https://github.com/Azure-Samples/storage-table-dotnet-getting-started/blob/master/TableStorage/BasicSamples.cs">Getting Started with Azure Table Storage in .NET</a></td>
175-
</tr>
176-
<tr>
177-
<td>Table ACL/Properties</td>
178-
<td><a href="https://github.com/Azure-Samples/storage-table-dotnet-getting-started/blob/master/TableStorage/AdvancedSamples.cs">Getting Started with Azure Table Storage in .NET</a></td>
179-
</tr>
180-
<tr>
181-
<td>Update Entity</td>
182-
<td><a href="https://code.msdn.microsoft.com/Managing-Concurrency-using-56018114/sourcecode?fileId=123913&pathId=50196262">Managing Concurrency using Azure Storage - Sample Application</a></td>
183-
</tr>
184-
</tbody>
185-
</table>
186-
<br/>
17+
## Blob samples
18+
19+
| **Scenario** | **Sample Code** |
20+
|--------------|-----------------|
21+
| Append Blob | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs#L1144) |
22+
| Block Blob | [Azure Blob Storage Photo Gallery Web Application](https://github.com/Azure-Samples/storage-blobs-dotnet-webapp/blob/master/WebApp-Storage-DotNet/Controllers/HomeController.cs) |
23+
| Client-Side Encryption | [Blob Encryption Samples](https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/EncryptionSamples/BlobGettingStarted/Program.cs) |
24+
| Copy Blob | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs) |
25+
| Create Container | [Azure Blob Storage Photo Gallery Web Application](https://github.com/Azure-Samples/storage-blobs-dotnet-webapp/blob/master/WebApp-Storage-DotNet/Controllers/HomeController.cs) |
26+
| Delete Blob | [Azure Blob Storage Photo Gallery Web Application](https://github.com/Azure-Samples/storage-blobs-dotnet-webapp/blob/master/WebApp-Storage-DotNet/Controllers/HomeController.cs) |
27+
| Delete Container | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs) |
28+
| Blob Metadata/Properties/Stats | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs) |
29+
| Container ACL/Metadata/Properties | [Azure Blob Storage Photo Gallery Web Application](https://github.com/Azure-Samples/storage-blobs-dotnet-webapp/blob/master/WebApp-Storage-DotNet/Controllers/HomeController.cs) |
30+
| Get Page Ranges | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs) |
31+
| Lease Blob/Container | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs) |
32+
| List Blob/Container | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/GettingStarted.cs) |
33+
| Page Blob | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/GettingStarted.cs) |
34+
| SAS | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs) |
35+
| Service Properties | [Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs) |
36+
| Snapshot Blob | [Backup Azure Virtual Machine Disks with Incremental Snapshots](https://github.com/Azure-Samples/storage-blob-dotnet-back-up-with-incremental-snapshots/blob/master/Program.cs) |
37+
38+
## File samples
39+
40+
| **Scenario** | **Sample Code** |
41+
|--------------|-----------------|
42+
| Create Shares/Directories/Files | [Azure Storage .NET File Storage Sample](https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/VisualStudioQuickStarts/DataFileStorage/Program.cs) |
43+
| Delete Shares/Directories/Files | [Getting Started with Azure File Service in .NET](https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/master/FileStorage/GettingStarted.cs) |
44+
| Directory Properties/Metadata | [Azure Storage .NET File Storage Sample](https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs) |
45+
| Download Files | [Azure Storage .NET File Storage Sample](https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/VisualStudioQuickStarts/DataFileStorage/Program.cs) |
46+
| File Properties/Metadata/Metrics | [Azure Storage .NET File Storage Sample](https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs) |
47+
| File Service Properties | [Azure Storage .NET File Storage Sample](https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs) |
48+
| List Directories and Files | [Azure Storage .NET File Storage Sample](https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/VisualStudioQuickStarts/DataFileStorage/Program.cs) |
49+
| List Shares | [Azure Storage .NET File Storage Sample](https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs) |
50+
| Share Properties/Metadata/Stats | [Azure Storage .NET File Storage Sample](https://github.com/Azure-Samples/storage-file-dotnet-getting-started/blob/9f12304b2f5f5472a1c87c1e21be4af5661ac043/FileStorage/Advanced.cs) |
51+
52+
## Queue samples
53+
54+
| **Scenario** | **Sample Code** |
55+
|--------------|-----------------|
56+
| Add Message | [Getting Started with Azure Queue Service in .NET](https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs) |
57+
| Client-Side Encryption | [Azure Storage .NET Queue Client-Side Encryption](https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/EncryptionSamples/QueueGettingStarted/Program.cs) |
58+
| Create Queues | [Getting Started with Azure Queue Service in .NET](https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs) |
59+
| Delete Message/Queue | [Getting Started with Azure Queue Service in .NET](https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs) |
60+
| Peek Message | [Getting Started with Azure Queue Service in .NET](https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs) |
61+
| Queue ACL/Metadata/Stats | [Getting Started with Azure Queue Service in .NET](https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/Advanced.cs) |
62+
| Queue Service Properties | [Getting Started with Azure Queue Service in .NET](https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/Advanced.cs) |
63+
| Update Message | [Getting Started with Azure Queue Service in .NET](https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs) |
64+
65+
## Table samples
66+
67+
| **Scenario** | **Sample Code** |
68+
|--------------|-----------------|
69+
| Create Table | [Managing Concurrency using Azure Storage - Sample Application](https://code.msdn.microsoft.com/Managing-Concurrency-using-56018114/sourcecode?fileId=123913&pathId=50196262) |
70+
| Delete Entity/Table | [Getting Started with Azure Table Storage in .NET](https://github.com/Azure-Samples/storage-table-dotnet-getting-started/blob/master/TableStorage/BasicSamples.cs) |
71+
| Insert/Merge/Replace Entity | [Managing Concurrency using Azure Storage - Sample Application](https://code.msdn.microsoft.com/Managing-Concurrency-using-56018114/sourcecode?fileId=123913&pathId=50196262) |
72+
| Query Entities | [Getting Started with Azure Table Storage in .NET](https://github.com/Azure-Samples/storage-table-dotnet-getting-started/blob/master/TableStorage/BasicSamples.cs) |
73+
| Query Tables | [Getting Started with Azure Table Storage in .NET](https://github.com/Azure-Samples/storage-table-dotnet-getting-started/blob/master/TableStorage/BasicSamples.cs) |
74+
| Table ACL/Properties | [Getting Started with Azure Table Storage in .NET](https://github.com/Azure-Samples/storage-table-dotnet-getting-started/blob/master/TableStorage/AdvancedSamples.cs) |
75+
| Update Entity | [Managing Concurrency using Azure Storage - Sample Application](https://code.msdn.microsoft.com/Managing-Concurrency-using-56018114/sourcecode?fileId=123913&pathId=50196262) |
18776

18877
## Azure Code Samples library
18978

@@ -205,4 +94,5 @@ Check out the following guides if you are looking for instructions on how to ins
20594
For information on samples for other languages:
20695

20796
* Java: [Azure Storage samples using Java](storage-samples-java.md)
97+
* Python: [Azure Storage samples using Python](storage-samples-python.md)
20898
* All other languages: [Azure Storage samples](../storage-samples.md)

0 commit comments

Comments
 (0)