You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-blob-container-lease.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,18 +93,20 @@ The following example breaks a lease on a container:
93
93
94
94
To learn more about managing container leases using the Azure Blob Storage client library for .NET, see the following resources.
95
95
96
+
### Code samples
97
+
98
+
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/LeaseContainer.cs)
99
+
96
100
### REST API operations
97
101
98
102
The Azure SDK for .NET contains libraries that build on top of the Azure REST API, allowing you to interact with REST API operations through familiar .NET paradigms. The client library methods for managing container leases use the following REST API operation:
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/LeaseContainer.cs)
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-blob-container-properties-metadata.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,3 +83,5 @@ The Azure SDK for .NET contains libraries that build on top of the Azure REST AP
83
83
The `GetProperties` and `GetPropertiesAsync` methods retrieve container properties and metadata by calling both the [Get Blob Properties](/rest/api/storageservices/get-blob-properties) operation and the [Get Blob Metadata](/rest/api/storageservices/get-blob-metadata) operation.
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-blob-copy-async-dotnet.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,15 +86,17 @@ These methods wrap the [Abort Copy Blob](/rest/api/storageservices/abort-copy-bl
86
86
87
87
To learn more about copying blobs using the Azure Blob Storage client library for .NET, see the following resources.
88
88
89
+
### Code samples
90
+
91
+
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/CopyBlob.cs)
92
+
89
93
### REST API operations
90
94
91
95
The Azure SDK for .NET contains libraries that build on top of the Azure REST API, allowing you to interact with REST API operations through familiar .NET paradigms. The client library methods covered in this article use the following REST API operations:
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/CopyBlob.cs)
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-blob-copy-url-dotnet.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,15 +68,17 @@ You can perform a copy operation on any source object that can be retrieved via
68
68
69
69
To learn more about copying blobs using the Azure Blob Storage client library for .NET, see the following resources.
70
70
71
+
### Code samples
72
+
73
+
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/PutBlobFromURL.cs)
74
+
71
75
### REST API operations
72
76
73
77
The Azure SDK for .NET contains libraries that build on top of the Azure REST API, allowing you to interact with REST API operations through familiar .NET paradigms. The client library methods covered in this article use the following REST API operations:
74
78
75
79
-[Put Blob From URL](/rest/api/storageservices/put-blob-from-url) (REST API)
76
80
-[Put Block From URL](/rest/api/storageservices/put-block-from-url) (REST API)
77
81
78
-
### Code samples
79
-
80
-
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/PutBlobFromURL.cs)
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-blob-delete.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,20 +91,22 @@ The following code example shows how to get the latest version of a deleted blob
91
91
92
92
To learn more about how to delete blobs and restore deleted blobs using the Azure Blob Storage client library for .NET, see the following resources.
93
93
94
+
### Code samples
95
+
96
+
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/DeleteBlob.cs)
97
+
94
98
### REST API operations
95
99
96
100
The Azure SDK for .NET contains libraries that build on top of the Azure REST API, allowing you to interact with REST API operations through familiar .NET paradigms. The client library methods for deleting blobs and restoring deleted blobs use the following REST API operations:
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/DeleteBlob.cs)
To connect an application to Blob Storage, create an instance of the [BlobServiceClient](/dotnet/api/azure.storage.blobs.blobserviceclient) class. This object is your starting point to interact with data resources at the storage account level. You can use it to operate on the storage account and its containers. You can also use the service client to create container clients or blob clients, depending on the resource you need to work with.
57
+
To connect an app to Blob Storage, create an instance of the [BlobServiceClient](/dotnet/api/azure.storage.blobs.blobserviceclient) class. This object is your starting point to interact with data resources at the storage account level. You can use it to operate on the storage account and its containers. You can also use the service client to create container clients or blob clients, depending on the resource you need to work with.
58
58
59
59
To learn more about creating and managing client objects, see [Create and manage client objects that interact with data resources](storage-blob-client-management.md).
60
60
@@ -64,9 +64,9 @@ You can authorize a `BlobServiceClient` object by using a Microsoft Entra author
64
64
65
65
## [Microsoft Entra ID (recommended)](#tab/azure-ad)
66
66
67
-
To authorize with Microsoft Entra ID, you'll need to use a security principal. The type of security principal you need depends on where your application runs. Use this table as a guide.
67
+
To authorize with Microsoft Entra ID, you'll need to use a security principal. The type of security principal you need depends on where your app runs. Use this table as a guide.
68
68
69
-
| Where the application runs | Security principal | Guidance |
69
+
| Where the app runs | Security principal | Guidance |
70
70
| --- | --- | --- |
71
71
| Local machine (developing and testing) | Service principal | To learn how to register the app, set up a Microsoft Entra group, assign roles, and configure environment variables, see [Authorize access using developer service principals](/dotnet/azure/sdk/authentication-local-development-service-principal?toc=/azure/storage/blobs/toc.json&bc=/azure/storage/blobs/breadcrumb/toc.json)|
72
72
| Local machine (developing and testing) | User identity | To learn how to set up a Microsoft Entra group, assign roles, and sign in to Azure, see [Authorize access using developer credentials](/dotnet/azure/sdk/authentication-local-development-dev-accounts?toc=/azure/storage/blobs/toc.json&bc=/azure/storage/blobs/breadcrumb/toc.json)|
@@ -152,34 +152,31 @@ For information about how to obtain account keys and best practice guidelines fo
152
152
153
153
To learn more about each of these authorization mechanisms, see [Authorize access to data in Azure Storage](../common/authorize-data-access.md).
154
154
155
-
## Build your application
155
+
## Build your app
156
156
157
-
As you build applications to work with data resources in Azure Blob Storage, your code primarily interacts with three resource types: storage accounts, containers, and blobs. To learn more about these resource types, how they relate to one another, and how apps interact with resources, see [Understand how apps interact with Blob Storage data resources](storage-blob-object-model.md).
157
+
As you build apps to work with data resources in Azure Blob Storage, your code primarily interacts with three resource types: storage accounts, containers, and blobs. To learn more about these resource types, how they relate to one another, and how apps interact with resources, see [Understand how apps interact with Blob Storage data resources](storage-blob-object-model.md).
158
158
159
-
The following guides show you how to work with data resources and perform specific actions using the Azure Storage client library for .NET:
159
+
The following guides show you how to access data and perform specific actions using the Azure Storage client library for .NET:
160
160
161
161
| Guide | Description |
162
-
|--|---|
162
+
| --- | --- |
163
+
|[Append data to blobs](storage-blob-append.md)| Learn how to create an append blob and then append data to that blob. |
164
+
|[Configure a retry policy](storage-retry-policy.md)| Implement retry policies for client operations. |
165
+
|[Copy blobs](storage-blob-copy.md)| Copy a blob from one location to another. |
163
166
|[Create a container](storage-blob-container-create.md)| Create containers. |
164
-
|[Delete and restore containers](storage-blob-container-delete.md)| Delete containers, and if soft-delete is enabled, restore deleted containers. |
165
-
|[List containers](storage-blob-containers-list.md)| List containers in an account and the various options available to customize a listing. |
166
-
|[Manage properties and metadata](storage-blob-container-properties-metadata.md)| Get and set properties and metadata for containers. |
167
-
|[Create and manage container leases](storage-blob-container-lease.md)| Establish and manage a lock on a container. |
167
+
|[Create a user delegation SAS (blobs)](storage-blob-user-delegation-sas-create-dotnet.md)| Create a user delegation SAS for a blob. |
168
+
|[Create a user delegation SAS (containers))](storage-blob-container-user-delegation-sas-create-dotnet.md)| Create a user delegation SAS for a container. |
168
169
|[Create and manage blob leases](storage-blob-lease.md)| Establish and manage a lock on a blob. |
169
-
|[Append data to blobs](storage-blob-append.md)| Learn how to create an append blob and then append data to that blob. |
170
-
|[Upload blobs](storage-blob-upload.md)| Learn how to upload blobs by using strings, streams, file paths, and other methods. |
170
+
|[Create and manage container leases](storage-blob-container-lease.md)| Establish and manage a lock on a container. |
171
+
|[Delete and restore](storage-blob-delete.md)| Delete blobs, and if soft-delete is enabled, restore deleted blobs. |
172
+
|[Delete and restore containers](storage-blob-container-delete.md)| Delete containers, and if soft-delete is enabled, restore deleted containers. |
171
173
|[Download blobs](storage-blob-download.md)| Download blobs by using strings, streams, and file paths. |
172
-
|[Copy blobs](storage-blob-copy.md)| Copy a blob from one location to another. |
173
-
|[List blobs](storage-blobs-list.md)| List blobs in different ways. |
174
-
|[Delete and restore](storage-blob-delete.md)| Delete blobs, and if soft-delete is enabled, restore deleted blobs. |
175
174
|[Find blobs using tags](storage-blob-tags.md)| Set and retrieve tags, and use tags to find blobs. |
175
+
|[List blobs](storage-blobs-list.md)| List blobs in different ways. |
176
+
|[List containers](storage-blob-containers-list.md)| List containers in an account and the various options available to customize a listing. |
176
177
|[Manage properties and metadata](storage-blob-properties-metadata.md)| Get and set properties and metadata for blobs. |
178
+
|[Manage properties and metadata](storage-blob-container-properties-metadata.md)| Get and set properties and metadata for containers. |
179
+
|[Performance tuning for data transfers](storage-blobs-tune-upload-download.md)| Optimize performance for data transfer operations. |
177
180
|[Set or change a blob's access tier](storage-blob-use-access-tier-dotnet.md)| Set or change the access tier for a block blob. |
181
+
|[Upload blobs](storage-blob-upload.md)| Learn how to upload blobs by using strings, streams, file paths, and other methods. |
0 commit comments