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
@@ -174,17 +174,7 @@ Because you're using the storage connection string, your function connects to th
174
174
175
175
### Connect Storage Explorer to your account
176
176
177
-
Skip this section if you have already installed Azure Storage Explorer and connected it to your Azure account.
178
-
179
-
1. Run the [Azure Storage Explorer](https://storageexplorer.com/) tool, select the connect icon on the left, and select **Add an account**.
180
-
181
-
:::image type="content" source="./media/functions-add-output-binding-storage-queue-vs-code/storage-explorer-add-account.png" alt-text="Screenshot of how to add an Azure account to Microsoft Azure Storage Explorer.":::
182
-
183
-
1. In the **Connect** dialog, choose **Add an Azure account**, choose your **Azure environment**, and then select **Sign in...**.
184
-
185
-
:::image type="content" source="./media/functions-add-output-binding-storage-queue-vs-code/storage-explorer-connect-azure-account.png" alt-text="Screenshot of the sign-in to your Azure account window.":::
186
-
187
-
After you successfully sign in to your account, you see all of the Azure subscriptions associated with your account.
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-add-output-binding-storage-queue-vs.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Connect functions to Azure Storage using Visual Studio
3
3
description: "Learn how to add an output binding to connect your C# class library functions to an Azure Storage queue using Visual Studio."
4
-
ms.date: 05/30/2021
4
+
ms.date: 01/31/2023
5
5
ms.topic: quickstart
6
6
ms.devlang: csharp
7
7
ms.custom: mvc, mode-ui
@@ -20,8 +20,8 @@ Most bindings require a stored connection string that Functions uses to access t
20
20
21
21
Before you start this article, you must:
22
22
23
-
- Complete [part 1 of the Visual Studio quickstart](./functions-create-your-first-function-visual-studio.md).
24
-
23
+
- Complete [part 1 of the Visual Studio quickstart](./functions-create-your-first-function-visual-studio.md).
24
+
- Install [Azure Storage Explorer](https://storageexplorer.com/). Storage Explorer is a tool that you'll use to examine queue messages generated by your output binding. Storage Explorer is supported on macOS, Windows, and Linux-based operating systems.
25
25
- Sign in to your Azure subscription from Visual Studio.
26
26
27
27
## Download the function app settings
@@ -72,21 +72,21 @@ After the binding is defined, you can use the `name` of the binding to access it
A new queue named `outqueue` is created in your storage account by the Functions runtime when the output binding is first used. You'll use Cloud Explorer to verify that the queue was created along with the new message.
75
+
A new queue named `outqueue` is created in your storage account by the Functions runtime when the output binding is first used. You'll use Storage Explorer to verify that the queue was created along with the new message.
76
76
77
-
## Examine the output queue
77
+
### Connect Storage Explorer to your account
78
78
79
-
1. In Visual Studio from the **View** menu, select**Cloud Explorer**.
1. In **Cloud Explorer**, expand your Azure subscription and **Storage Accounts**, then expand the storage account used by your function. If you can't remember the storage account name, check the `AzureWebJobsStorage` connection string setting in the *local.settings.json* file.
81
+
### Examine the output queue
82
82
83
-
1. Expand the **Queues** node, and then double-click the queue named **outqueue** to view the contents of the queue in Visual Studio.
83
+
1. In Storage Explorer, expand the **Queues** node, and thenselectthe queue named **outqueue**.
84
84
85
85
The queue contains the message that the queue output binding created when you ran the HTTP-triggered function. If you invoked the functionwith the default `name` value of *Azure*, the queue message is *Name passed to the function: Azure*.
86
86
87
-

87
+
:::image type="content" source="./media/functions-add-output-binding-storage-queue-vs-code/function-queue-storage-output-view-queue.png" alt-text="Screenshot of the queue message shown in Azure Storage Explorer.":::
88
88
89
-
1. Run the function again, send another request, and you'll see a new message appearin the queue.
89
+
1. Run the functionagain, send another request, and you see a new message in the queue.
90
90
91
91
Now, it's time to republish the updated function app to Azure.
Skip this section if you've already installed Azure Storage Explorer and connected it to your Azure account.
10
+
11
+
1. Run the [Azure Storage Explorer](https://storageexplorer.com/) tool, select the connect icon on the left, and select **Add an account**.
12
+
13
+
:::image type="content" source="./media/functions-storage-explorer-connect/storage-explorer-add-account.png" alt-text="Screenshot of how to add an Azure account to Microsoft Azure Storage Explorer.":::
14
+
15
+
1. In the **Connect** dialog, choose **Add an Azure account**, choose your **Azure environment**, and then select **Sign in...**.
16
+
17
+
:::image type="content" source="./media/functions-storage-explorer-connect/storage-explorer-connect-azure-account.png" alt-text="Screenshot of the sign-in to your Azure account window.":::
18
+
19
+
After you successfully sign in to your account, you see all of the Azure subscriptions associated with your account. Choose your subscription and select **Open Explorer**.
0 commit comments