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/common/storage-use-azurite.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,15 +105,19 @@ To learn more about configuring **Azure Functions** projects and **ASP.NET** pro
105
105
-[Running Azurite from an Azure Functions project](#running-azurite-from-an-azure-functions-project)
106
106
-[Running Azurite from an ASP.NET project](#running-azurite-from-an-aspnet-project)
107
107
108
-
#### Running Azurite from the command line
108
+
#### Azurite executable file location
109
109
110
-
You can find the Azurite executable file in the extensions folder of your Visual Studio installation. The specific location varies based on which version of Visual Studio is installed. The following table shows the location of the Azurite executable for different versions of Visual Studio running on a Windows machine:
110
+
The following table shows the location of the Azurite executable for different versions of Visual Studio running on a Windows machine:
111
111
112
112
| Visual Studio version | Azurite executable location |
113
113
| --- | --- |
114
114
| Visual Studio Professional 2022 |`C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Extensions\Microsoft\Azure Storage Emulator`|
You can find the Azurite executable file in the extensions folder of your Visual Studio installation, as detailed in the [Azurite executable file location table](#azurite-executable-file-location).
120
+
117
121
Navigate to the appropriate location and start `azurite.exe`. After you run the executable file, Azurite listens for connections.
118
122
119
123
> [!div class="mx-imgBorder"]
@@ -127,10 +131,12 @@ In Visual Studio 2022, create an **Azure Functions** project. While setting the
127
131
128
132
:::image type="content" source="./media/storage-use-azurite/azurite-azure-functions.png" alt-text="A screenshot showing how to set Azurite to be the runtime storage account for an Azure Functions project." lightbox="media/storage-use-azurite/azurite-azure-functions.png":::
129
133
130
-
After you create the project, Azurite starts automatically. The output looks similar to the following screenshot:
134
+
After you create the project, Azurite starts automatically. The location of the Azurite executable file is detailed in the [Azurite executable file location table](#azurite-executable-file-location). The output looks similar to the following screenshot:
131
135
132
136
:::image type="content" source="./media/storage-use-azurite/azurite-azure-functions-output.png" alt-text="A screenshot showing output after setting Azurite to be the runtime storage account for an Azure Functions project." lightbox="media/storage-use-azurite/azurite-azure-functions-output.png":::
133
137
138
+
This configuration option can be changed later by modifying the project's **Connected Services** dependencies.
139
+
134
140
#### Running Azurite from an ASP.NET project
135
141
136
142
In Visual Studio 2022, create an **ASP.NET Core Web App** project. Then, open the **Connected Services** dialog box, select **Add a service dependency**, and then select **Storage Azurite emulator**.
@@ -141,10 +147,12 @@ In the **Configure Storage Azurite emulator** dialog box, set the **Connection s
141
147
142
148
:::image type="content" source="./media/storage-use-azurite/azurite-aspnet-connection-string.png" alt-text="A screenshot showing how to configure a connection string to use Azurite with an ASP.NET project." lightbox="media/storage-use-azurite/azurite-aspnet-connection-string.png":::
143
149
144
-
When the configuration completes, select **Close**, and the Azurite emulator starts automatically. The output looks similar to the following screenshot:
150
+
When the configuration completes, select **Close**, and the Azurite emulator starts automatically. The location of the Azurite executable file is detailed in the [Azurite executable file location table](#azurite-executable-file-location). The output looks similar to the following screenshot:
145
151
146
152
:::image type="content" source="./media/storage-use-azurite/azurite-aspnet-output.png" alt-text="A screenshot showing output after connecting an ASP.NET project to the Azurite emulator." lightbox="media/storage-use-azurite/azurite-aspnet-output.png":::
147
153
154
+
This configuration option can be changed later by modifying the project's **Connected Services** dependencies.
0 commit comments