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/azure-app-configuration/quickstart-dotnet-app.md
+11-17Lines changed: 11 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,16 +47,17 @@ Add the following key-value to the App Configuration store and leave **Label** a
47
47
48
48
Connect to your App Configuration store using Microsoft Entra ID (recommended), or a connection string.
49
49
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.
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.
53
57
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)
58
59
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.
60
61
61
62
```xml
62
63
<configSections>
@@ -72,7 +73,7 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
@@ -131,7 +126,6 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
131
126
Console.ReadKey();
132
127
}
133
128
```
134
-
135
129
---
136
130
137
131
## Build and run the app
@@ -140,7 +134,7 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
140
134
141
135
### [Microsoft Entra ID (recommended)](#tab/entra-id)
142
136
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.
0 commit comments