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
description: In this quickstart, you will learn how to use the Azure Blob Storage client library version 12 for .NET to create a container and a blob in Blob (object) storage. Next, you learn how to download the blob to your local computer, and how to list all of the blobs in a container.
description: In this quickstart, you will learn how to use the Azure Blob Storage client library for .NET to create a container and a blob in Blob (object) storage. Next, you learn how to download the blob to your local computer, and how to list all of the blobs in a container.
# Quickstart: Azure Blob Storage client library v12 for .NET
15
+
# Quickstart: Azure Blob Storage client library for .NET
16
16
17
-
Get started with the Azure Blob Storage client library v12 for .NET. Azure Blob Storage is Microsoft's object storage solution for the cloud. Follow steps to install the package and try out example code for basic tasks. Blob storage is optimized for storing massive amounts of unstructured data.
17
+
Get started with the Azure Blob Storage client library for .NET. Azure Blob Storage is Microsoft's object storage solution for the cloud. Follow steps to install the package and try out example code for basic tasks. Blob storage is optimized for storing massive amounts of unstructured data.
18
18
19
-
The examples in this quickstart show you how to use the Azure Blob Storage client library v12 for .NET to:
19
+
The examples in this quickstart show you how to use the Azure Blob Storage client library for .NET to:
20
20
21
21
*[Create the project and configure dependencies](#setting-up)
22
22
*[Authenticate to Azure](#authenticate-the-app-to-azure)
@@ -41,7 +41,7 @@ Additional resources:
41
41
42
42
## Setting up
43
43
44
-
This section walks you through preparing a project to work with the Azure Blob Storage client library v12 for .NET.
44
+
This section walks you through preparing a project to work with the Azure Blob Storage client library for .NET.
45
45
46
46
### Create the project
47
47
@@ -55,26 +55,26 @@ For the steps ahead, you'll need to create a .NET console app using either the .
55
55
56
56
:::image type="content" source="media/storage-quickstart-blobs-dotnet/visual-studio-new-console-app.png" alt-text="A screenshot showing how to create a new project using Visual Studio.":::
57
57
58
-
1. For the **Project Name**, enter *BlobQuickstartV12*. Leave the default values for the rest of the fields and select **Next**.
58
+
1. For the **Project Name**, enter *BlobQuickstart*. Leave the default values for the rest of the fields and select **Next**.
59
59
60
60
1. For the **Framework**, ensure .NET 6.0 is selected. Then choose **Create**. The new project will open inside the Visual Studio environment.
61
61
62
62
### [.NET CLI](#tab/net-cli)
63
63
64
-
1. In a console window (such as cmd, PowerShell, or Bash), use the `dotnet new` command to create a new console app with the name *BlobQuickstartV12*. This command creates a simple "Hello World" C# project with a single source file: *Program.cs*.
64
+
1. In a console window (such as cmd, PowerShell, or Bash), use the `dotnet new` command to create a new console app with the name *BlobQuickstart*. This command creates a simple "Hello World" C# project with a single source file: *Program.cs*.
65
65
66
66
```dotnetcli
67
-
dotnet new console -n BlobQuickstartV12
67
+
dotnet new console -n BlobQuickstart
68
68
```
69
69
70
-
1. Switch to the newly created *BlobQuickstartV12* directory.
70
+
1. Switch to the newly created *BlobQuickstart* directory.
71
71
72
72
```console
73
-
cd BlobQuickstartV12
73
+
cd BlobQuickstart
74
74
```
75
75
76
76
1. Open the project in your desired code editor. To open the project in:
77
-
* Visual Studio, locate and double-click the `BlobQuickStartV12.csproj` file.
77
+
* Visual Studio, locate and double-click the `BlobQuickStart.csproj` file.
78
78
* Visual Studio Code, run the following command:
79
79
80
80
```bash
@@ -410,7 +410,7 @@ dotnet run
410
410
The output of the app is similar to the following example:
0 commit comments