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-aspnet-core-app.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Use the [.NET command-line interface (CLI)](/dotnet/core/tools) to create a new
42
42
Run the following command to create an ASP.NET Core web app in a new *TestAppConfig* folder:
43
43
44
44
```dotnetcli
45
-
dotnet new webapp --output TestAppConfig --framework net6.0
45
+
dotnet new webapp --output TestAppConfig
46
46
```
47
47
48
48
## Connect to the App Configuration store
@@ -74,7 +74,7 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
74
74
75
75
### [Microsoft Entra ID (recommended)](#tab/entra-id)
76
76
77
-
The command uses [Secret Manager](/aspnet/core/security/app-secrets) to store a secret named `Endpoints:AppConfiguration`, which stores the endpoint for your App Configuration store. Replace the `<your-App-Configuration-endpoint>` placeholder with your App Configuration store's endpoint. You can find the endpoint in your App Configuration store's **Access settings** in the Azure portal.
77
+
The command uses [Secret Manager](/aspnet/core/security/app-secrets) to store a secret named `Endpoints:AppConfiguration`, which stores the endpoint for your App Configuration store. Replace the `<your-App-Configuration-endpoint>` placeholder with your App Configuration store's endpoint. You can find the endpoint in your App Configuration store's **Overview** blade in the Azure portal.
78
78
79
79
```dotnetcli
80
80
dotnet user-secrets init
@@ -122,21 +122,16 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
This code connects to your App Configuration store using Microsoft Entra ID and load *all* key-values that have *no labels*. For more information on the App Configuration provider, see the [App Configuration provider API reference](/dotnet/api/Microsoft.Extensions.Configuration.AzureAppConfiguration).
139
-
140
135
### [Connection string](#tab/connection-string)
141
136
142
137
```csharp
@@ -152,7 +147,10 @@ Connect to your App Configuration store using Microsoft Entra ID (recommended),
152
147
// ... ...
153
148
```
154
149
155
-
This code connects to your App Configuration store using a connection string and loads *all* key-values that have *no labels*. For more information on the App Configuration provider, see the [App Configuration provider API reference](/dotnet/api/Microsoft.Extensions.Configuration.AzureAppConfiguration).
150
+
---
151
+
152
+
This code loads *all* key-values that have *no label* from your App Configuration store. For more information on loading data from App Configuration, see the [App Configuration provider API reference](/dotnet/api/microsoft.extensions.configuration.azureappconfiguration.extensions).
0 commit comments