Skip to content

Commit 0cf8131

Browse files
Merge pull request #236112 from pauljewellmsft/pauljewell-azurite
Update to clarify executable location for VS
2 parents ff31bd8 + fa56abe commit 0cf8131

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

articles/storage/common/storage-use-azurite.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,19 @@ To learn more about configuring **Azure Functions** projects and **ASP.NET** pro
105105
- [Running Azurite from an Azure Functions project](#running-azurite-from-an-azure-functions-project)
106106
- [Running Azurite from an ASP.NET project](#running-azurite-from-an-aspnet-project)
107107

108-
#### Running Azurite from the command line
108+
#### Azurite executable file location
109109

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:
111111

112112
| Visual Studio version | Azurite executable location |
113113
| --- | --- |
114114
| Visual Studio Professional 2022 | `C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Extensions\Microsoft\Azure Storage Emulator` |
115115
| Visual Studio Enterprise 2022 | `C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\Microsoft\Azure Storage Emulator` |
116116

117+
#### Running Azurite from the command line
118+
119+
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+
117121
Navigate to the appropriate location and start `azurite.exe`. After you run the executable file, Azurite listens for connections.
118122

119123
> [!div class="mx-imgBorder"]
@@ -127,10 +131,12 @@ In Visual Studio 2022, create an **Azure Functions** project. While setting the
127131

128132
:::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":::
129133

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:
131135

132136
:::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":::
133137

138+
This configuration option can be changed later by modifying the project's **Connected Services** dependencies.
139+
134140
#### Running Azurite from an ASP.NET project
135141

136142
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
141147

142148
:::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":::
143149

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:
145151

146152
:::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":::
147153

154+
This configuration option can be changed later by modifying the project's **Connected Services** dependencies.
155+
148156
### [Visual Studio Code](#tab/visual-studio-code)
149157

150158
> [!NOTE]

0 commit comments

Comments
 (0)