Skip to content

Commit e4a7abb

Browse files
update
1 parent 1f49efe commit e4a7abb

20 files changed

+48
-46
lines changed

articles/azure-app-configuration/enable-dynamic-configuration-aspnet-netfx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ Add the following key-values to the App Configuration store and leave **Label**
164164

165165
If you use the Windows command prompt, run the following command:
166166
```console
167-
setx ConnectionString "connection-string-of-your-app-configuration-store"
167+
setx ConnectionString <connection-string-of-your-app-configuration-store>
168168
```
169169

170170
If you use Windows PowerShell, run the following command:
171171
```powershell
172-
$Env:ConnectionString = "connection-string-of-your-app-configuration-store"
172+
$Env:ConnectionString = <connection-string-of-your-app-configuration-store>
173173
```
174174

175175
1. Restart Visual Studio to allow the change to take effect.

articles/azure-app-configuration/enable-dynamic-configuration-azure-functions-csharp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,13 @@ Azure Functions support running [in-process](../azure-functions/functions-dotnet
184184
1. Set an environment variable named **ConnectionString**, and set it to the access key to your app configuration store. If you use the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
185185

186186
```console
187-
setx ConnectionString "connection-string-of-your-app-configuration-store"
187+
setx ConnectionString <connection-string-of-your-app-configuration-store>
188188
```
189189

190190
If you use Windows PowerShell, run the following command:
191191

192192
```powershell
193-
$Env:ConnectionString = "connection-string-of-your-app-configuration-store"
193+
$Env:ConnectionString = <connection-string-of-your-app-configuration-store>
194194
```
195195

196196
If you use macOS or Linux, run the following command:

articles/azure-app-configuration/enable-dynamic-configuration-dotnet-background-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@ You use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to create a
177177
If you use the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
178178
179179
```cmd
180-
setx Endpoint "endpoint-of-your-app-configuration-store"
180+
setx Endpoint <endpoint-of-your-app-configuration-store>
181181
```
182182
183183
If you use PowerShell, run the following command:
184184
185185
```powershell
186-
$Env:Endpoint = "endpoint-of-your-app-configuration-store"
186+
$Env:Endpoint = <endpoint-of-your-app-configuration-store>
187187
```
188188
189189
If you use macOS or Linux, run the following command:
@@ -198,13 +198,13 @@ You use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to create a
198198
If you use the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
199199
200200
```cmd
201-
setx ConnectionString "connection-string-of-your-app-configuration-store"
201+
setx ConnectionString <connection-string-of-your-app-configuration-store>
202202
```
203203
204204
If you use PowerShell, run the following command:
205205
206206
```powershell
207-
$Env:ConnectionString = "connection-string-of-your-app-configuration-store"
207+
$Env:ConnectionString = <connection-string-of-your-app-configuration-store>
208208
```
209209
210210
If you use macOS or Linux, run the following command:

articles/azure-app-configuration/enable-dynamic-configuration-dotnet-core-push-refresh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@ The `ProcessPushNotification` method takes in a `PushNotification` object contai
185185
To build and run the app locally using the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
186186

187187
```console
188-
setx AppConfigurationConnectionString "connection-string-of-your-app-configuration-store"
188+
setx AppConfigurationConnectionString <connection-string-of-your-app-configuration-store>
189189
```
190190

191191
### [PowerShell](#tab/powershell)
192192

193193
If you use Windows PowerShell, run the following command:
194194

195195
```powershell
196-
$Env:AppConfigurationConnectionString = "connection-string-of-your-app-configuration-store"
196+
$Env:AppConfigurationConnectionString = <connection-string-of-your-app-configuration-store>
197197
```
198198

199199
### [macOS](#tab/unix)

articles/azure-app-configuration/enable-dynamic-configuration-dotnet-core.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ In the previous code, you're manually saving an instance of `IConfigurationRefre
117117
1. Set an environment variable named **ConnectionString**, and set it to the access key to your App Configuration store. If you use the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
118118

119119
```console
120-
setx ConnectionString "connection-string-of-your-app-configuration-store"
120+
setx ConnectionString <connection-string-of-your-app-configuration-store>
121121
```
122122

123123
If you use Windows PowerShell, run the following command:
124124

125125
```powershell
126-
$Env:ConnectionString = "connection-string-of-your-app-configuration-store"
126+
$Env:ConnectionString = <connection-string-of-your-app-configuration-store>
127127
```
128128

129129
If you use macOS or Linux, run the following command:

articles/azure-app-configuration/enable-dynamic-configuration-dotnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ Add the following key-value to the App Configuration store and leave **Label** a
114114

115115
If you use the Windows command prompt, run the following command:
116116
```console
117-
setx ConnectionString "connection-string-of-your-app-configuration-store"
117+
setx ConnectionString <connection-string-of-your-app-configuration-store>
118118
```
119119

120120
If you use Windows PowerShell, run the following command:
121121
```powershell
122-
$Env:ConnectionString = "connection-string-of-your-app-configuration-store"
122+
$Env:ConnectionString = <connection-string-of-your-app-configuration-store>
123123
```
124124

125125
1. Restart Visual Studio to allow the change to take effect.

articles/azure-app-configuration/enable-dynamic-configuration-javascript.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Add the following key-value to your Azure App Configuration store. For more info
3939
The following examples show how to use refreshable configuration values in console applications.
4040
Choose the following instructions based on how your application consumes configuration data loaded from App Configuration, either as a `Map` or a configuration object.
4141

42+
You can connect to App Configuration using either Microsoft Entra ID (recommended) or a connection string. The following code snippet demonstrates using Microsoft Entra ID. You use the DefaultAzureCredential to authenticate to your App Configuration store. While completing the quickstart listed in the prerequisites, you already [assigned your credential the App Configuration Data Reader role](./concept-enable-rbac.md#authentication-with-token-credentials).
43+
4244
1. Open the file *app.js* and update the `load` function. Add a `refreshOptions` parameter to enable the refresh and configure refresh options. The loaded configuration will be updated when a change is detected on the server. By default, a refresh interval of 30 seconds is used, but you can override it with the `refreshIntervalInMs` property.
4345

4446
### [Use configuration as Map](#tab/configuration-map)

articles/azure-app-configuration/integrate-ci-cd-pipeline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ If you build locally, download and install the [Azure CLI](/cli/azure/install-az
7070
To build and run the app locally using the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
7171

7272
```console
73-
setx ConnectionString "connection-string-of-your-app-configuration-store"
73+
setx ConnectionString <connection-string-of-your-app-configuration-store>
7474
```
7575

7676
### [PowerShell](#tab/powershell)
7777

7878
If you use Windows PowerShell, run the following command:
7979

8080
```powershell
81-
$Env:ConnectionString = "connection-string-of-your-app-configuration-store"
81+
$Env:ConnectionString = <connection-string-of-your-app-configuration-store>
8282
```
8383

8484
### [macOS](#tab/unix)

articles/azure-app-configuration/quickstart-azure-functions-csharp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ This project will use [dependency injection in .NET Azure Functions](../azure-fu
183183
If you use the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
184184

185185
```cmd
186-
setx ConnectionString "connection-string-of-your-app-configuration-store"
186+
setx ConnectionString <connection-string-of-your-app-configuration-store>
187187
```
188188

189189
If you use PowerShell, run the following command:
190190

191191
```powershell
192-
$Env:ConnectionString = "connection-string-of-your-app-configuration-store"
192+
$Env:ConnectionString = <connection-string-of-your-app-configuration-store>
193193
```
194194

195195
If you use macOS or Linux, run the following command:

articles/azure-app-configuration/quickstart-dotnet-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ Add the following key-value to the App Configuration store and leave **Label** a
9292
If you use the Windows command prompt, run the following command:
9393

9494
```console
95-
setx ConnectionString "connection-string-of-your-app-configuration-store"
95+
setx ConnectionString <connection-string-of-your-app-configuration-store>
9696
```
9797

9898
If you use Windows PowerShell, run the following command:
9999

100100
```powershell
101-
$Env:ConnectionString = "connection-string-of-your-app-configuration-store"
101+
$Env:ConnectionString = <connection-string-of-your-app-configuration-store>
102102
```
103103

104104
1. Restart Visual Studio to allow the change to take effect.

0 commit comments

Comments
 (0)