@@ -9,7 +9,7 @@ ms.service: azure-app-configuration
9
9
ms.devlang : csharp
10
10
ms.custom : devx-track-csharp, devx-track-dotnet
11
11
ms.topic : tutorial
12
- ms.date : 02/20/2024
12
+ ms.date : 03/19/2025
13
13
ms.author : malev
14
14
# Customer intent: I want to dynamically update my .NET app to use the latest configuration data in App Configuration.
15
15
---
@@ -118,10 +118,7 @@ In the previous code, you're manually saving an instance of `IConfigurationRefre
118
118
119
119
## Build and run the app locally
120
120
121
- 1 . Set an environment variable .
122
-
123
- ### [Microsoft Entra ID (recommended)](#tab/entra-id)
124
- Set an environment variable named ** Endpoint ** to the endpoint of your App Configuration store found under the * Overview * of your store in the Azure portal .
121
+ 1 . Set an environment variable named ** Endpoint ** to the endpoint of your App Configuration store found under the * Overview * of your store in the Azure portal .
125
122
126
123
If you use the Windows command prompt , run the following command and restart the command prompt to allow the change to take effect :
127
124
@@ -141,28 +138,6 @@ In the previous code, you're manually saving an instance of `IConfigurationRefre
141
138
export Endpoint = '<endpoint-of-your-app-configuration-store>'
142
139
```
143
140
144
- ### [Connection string](#tab/connection-string)
145
- Set an environment variable named ** ConnectionString ** to the read - only connection string of your App Configuration store found under ** Access settings ** of your store in the Azure portal .
146
-
147
- If you use the Windows command prompt , run the following command and restart the command prompt to allow the change to take effect :
148
-
149
- ```cmd
150
- setx ConnectionString " <connection-string-of-your-app-configuration-store>"
151
- ```
152
-
153
- If you use PowerShell , run the following command :
154
-
155
- ```powershell
156
- $Env : ConnectionString = " <connection-string-of-your-app-configuration-store>"
157
- ```
158
-
159
- If you use macOS or Linux , run the following command :
160
-
161
- ```bash
162
- export ConnectionString = '<connection-string-of-your-app-configuration-store>'
163
- ```
164
- -- -
165
-
166
141
1 . Run the following command to build the console app :
167
142
168
143
```console
0 commit comments