Skip to content

Commit 77244d9

Browse files
committed
Updates from review
1 parent 2c9aff6 commit 77244d9

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

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

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,17 @@ Add the following key-value to the App Configuration store and leave **Label** a
4747

4848
Connect to your App Configuration store using Microsoft Entra ID (recommended), or a connection string.
4949

50-
### [Microsoft Entra ID (recommended)](#tab/entra-id)
50+
1. Right-click your project, and select **Manage NuGet Packages**. On the **Browse** tab, search and add the latest stable versions of following NuGet packages to your project.
51+
52+
- Microsoft.Configuration.ConfigurationBuilders.AzureAppConfiguration
53+
- Microsoft.Configuration.ConfigurationBuilders.Environment
54+
- System.Configuration.ConfigurationManager
5155

52-
1. Right-click your project, and select **Manage NuGet Packages**. On the **Browse** tab, search and add the following NuGet packages to your project.
56+
1. Update the *App.config* file of your project as follows. You can connect to your App Configuration store using Microsoft Entra ID (recommended), or a connection string.
5357

54-
- *Microsoft.Configuration.ConfigurationBuilders.AzureAppConfiguration* version 1.0.0 or later
55-
- *Microsoft.Configuration.ConfigurationBuilders.Environment* version 2.0.0 or later
56-
- *System.Configuration.ConfigurationManager* version 4.6.0 or later
57-
- * Azure.Identity* version 1.13.0 or later
58+
### [Microsoft Entra ID (recommended)](#tab/entra-id)
5859

59-
1. Update the *App.config* file of your project as follows. You use the `DefaultAzureCredential` to authenticate to your App Configuration store. Follow the [instructions](./concept-enable-rbac.md#authentication-with-token-credentials) to assign your credential the **App Configuration Data Reader** role. Be sure to allow sufficient time for the permission to propagate before running your application.
60+
The `DefaultAzureCredential` is used to authenticate to your App Configuration store by default. Follow the [instructions](./concept-enable-rbac.md#authentication-with-token-credentials) to assign your credential the **App Configuration Data Reader** role. Be sure to allow sufficient time for the permission to propagate before running your application.
6061

6162
```xml
6263
<configSections>
@@ -72,7 +73,7 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
7273

7374
<appSettings configBuilders="Environment,MyConfigStore">
7475
<add key="AppName" value="Console App Demo" />
75-
<add key="ConnectionString" value ="Set via an environment variable - for example, dev, test, staging, or production connection string." />
76+
<add key="Endpoint" value ="Set via an environment variable - for example, dev, test, staging, or production endpoint." />
7677
</appSettings>
7778
```
7879

@@ -92,12 +93,6 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
9293

9394
### [Connection string](#tab/connection-string)
9495

95-
1. Right-click your project, and select **Manage NuGet Packages**. On the **Browse** tab, search and add the following NuGet packages to your project.
96-
97-
- *Microsoft.Configuration.ConfigurationBuilders.AzureAppConfiguration* version 1.0.0 or later
98-
- *Microsoft.Configuration.ConfigurationBuilders.Environment* version 2.0.0 or later
99-
- *System.Configuration.ConfigurationManager* version 4.6.0 or later
100-
10196
1. Update the *App.config* file of your project as follows:
10297

10398
```xml
@@ -131,7 +126,6 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
131126
Console.ReadKey();
132127
}
133128
```
134-
135129
---
136130

137131
## Build and run the app
@@ -140,7 +134,7 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
140134

141135
### [Microsoft Entra ID (recommended)](#tab/entra-id)
142136

143-
Set the environment variable named **Endpoint** to the endpoint of your App Configuration store found under the *Overview* of your store in the Azure portal.
137+
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.
144138

145139
If you use the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
146140

@@ -162,7 +156,7 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
162156

163157
### [Connection string](#tab/connection-string)
164158

165-
Set an environment variable named **ConnectionString** to the read-only key connection string obtained during your App Configuration store creation.
159+
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.
166160

167161
If you use the Windows command prompt, run the following command:
168162

0 commit comments

Comments
 (0)