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/enable-dynamic-configuration-aspire.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ The configuration refresh is triggered by the incoming requests to your web app.
109
109
110
110
1. Run the `AppHost` project. Go to the Aspire dashboard and open the web app.
111
111
112
-
:::image type="content" source="media/aspire/original-message.png" alt-text="Screenshot of a web app with the original message from Azure App Configuration.":::
112
+
:::image type="content" source="media/aspire/original-message.png" alt-text="Screenshot of a web app with the original message from Azure App Configuration." lightbox="media/aspire/original-message.png":::
113
113
114
114
1. In the Azure portal, navigate to the **Configuration explorer** of your App Configuration store, and update the value of the following key.
115
115
@@ -119,11 +119,11 @@ The configuration refresh is triggered by the incoming requests to your web app.
119
119
120
120
1. Refresh the browser a few times. When the refresh interval elapses after 30 seconds, the page shows with updated content.
121
121
122
-
:::image type="content" source="media/aspire/refreshed-message.png" alt-text="Screenshot of a web app with the updated message from Azure App Configuration.":::
122
+
:::image type="content" source="media/aspire/refreshed-message.png" alt-text="Screenshot of a web app with the updated message from Azure App Configuration." lightbox="media/aspire/refreshed-message.png":::
123
123
124
124
1. Go to the Aspire dashboard and open the structured logs. You see that the `webfrontend` resource has a log with message "Configuration reloaded.".
125
125
126
-
:::image type="content" source="media/aspire/dashboard-logs.png" alt-text="Screenshot of the Aspire dashboard showing structured logs.":::
126
+
:::image type="content" source="media/aspire/dashboard-logs.png" alt-text="Screenshot of the Aspire dashboard showing structured logs." lightbox="media/aspire/dashboard-logs.png":::
127
127
128
128
:::zone-end
129
129
@@ -133,7 +133,7 @@ The configuration refresh is triggered by the incoming requests to your web app.
133
133
134
134
1. Run the `AppHost` project. Go to the Aspire dashboard and open the web app.
135
135
136
-
:::image type="content" source="media/aspire/original-message.png" alt-text="Screenshot of a web app with the original message from Azure App Configuration.":::
136
+
:::image type="content" source="media/aspire/original-message.png" alt-text="Screenshot of a web app with the original message from Azure App Configuration." lightbox="media/aspire/original-message.png":::
137
137
138
138
1. Go to the emulator UI, edit the value of the following key.
139
139
@@ -143,11 +143,11 @@ The configuration refresh is triggered by the incoming requests to your web app.
143
143
144
144
1. Refresh the browser a few times. When the refresh interval elapses after 30 seconds, the page shows with updated content.
145
145
146
-
:::image type="content" source="media/aspire/refreshed-message.png" alt-text="Screenshot of a web app with the updated message from Azure App Configuration.":::
146
+
:::image type="content" source="media/aspire/refreshed-message.png" alt-text="Screenshot of a web app with the updated message from Azure App Configuration." lightbox="media/aspire/refreshed-message.png":::
147
147
148
148
1. Go to the Aspire dashboard and open the structured logs. You see that the `webfrontend` resource has a log with message "Configuration reloaded.".
149
149
150
-
:::image type="content" source="media/aspire/dashboard-logs.png" alt-text="Screenshot of the Aspire dashboard showing structured logs.":::
150
+
:::image type="content" source="media/aspire/dashboard-logs.png" alt-text="Screenshot of the Aspire dashboard showing structured logs." lightbox="media/aspire/dashboard-logs.png":::
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/quickstart-aspire.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,11 @@ The Aspire Starter template includes a frontend web app that communicates with a
30
30
31
31
1. Run the `AppHost` project. You see the Aspire dashboard in your browser.
32
32
33
-
:::image type="content" source="media/aspire/dashboard.png" alt-text="Screenshot of the Aspire dashboard with web frontend and API service resources.":::
33
+
:::image type="content" source="media/aspire/dashboard.png" alt-text="Screenshot of the Aspire dashboard with web frontend and API service resources." lightbox="media/aspire/dashboard.png":::
34
34
35
35
1. Click the URL of the web frontend. You see a page with a welcome message.
36
36
37
-
:::image type="content" source="media/aspire/web-app.png" alt-text="Screenshot of a web app with a welcome message.":::
37
+
:::image type="content" source="media/aspire/web-app.png" alt-text="Screenshot of a web app with a welcome message." lightbox="media/aspire/web-app.png":::
38
38
39
39
:::zone target="docs" pivot="azure"
40
40
@@ -60,7 +60,7 @@ The Aspire Starter template includes a frontend web app that communicates with a
60
60
> [!IMPORTANT]
61
61
> When you call `AddAzureAppConfiguration`, you instruct the app to generate Azure resources dynamically during app startup. The app must configure the appropriate subscription and location. For more information, see [Local Azure provisioning](https://aspire.dev/integrations/cloud/azure/local-provisioning/#configuration).
62
62
> If you are using the latest Aspire SDK, you can configure the subscription information through the Aspire dashboard.
63
-
> :::image type="content" source="media/aspire/azure-subscription.png" alt-text="Screenshot of Aspire dashboard asking for Azure Subscription information.":::
63
+
> :::image type="content" source="media/aspire/azure-subscription.png" alt-text="Screenshot of Aspire dashboard asking for Azure Subscription information." lightbox="media/aspire/azure-subscription.png":::
64
64
65
65
> [!NOTE]
66
66
> You must have either the **Owner** or **User Access Administrator** role assigned on the Azure subscription. These roles are required to create role assignments as part of the provisioning process.
@@ -82,15 +82,15 @@ The Aspire Starter template includes a frontend web app that communicates with a
82
82
83
83
1. Run the `AppHost` project. You see the Azure App Configuration resource is provisioning.
1. Wait for a few minutes and you see the Azure App Configuration resource is provisioned and is running.
88
88
89
-
:::image type="content" source="media/aspire/resource-provisioned.png" alt-text="Screenshot of Aspire dashboard with Azure App Configuration resource running.":::
89
+
:::image type="content" source="media/aspire/resource-provisioned.png" alt-text="Screenshot of Aspire dashboard with Azure App Configuration resource running." lightbox="media/aspire/resource-provisioned.png":::
90
90
91
91
1. Go to the Azure portal by clicking the deployment URL on the Aspire dashboard. You see the deployment is complete and you can go to your Azure App Configuration resource.
92
92
93
-
:::image type="content" source="media/aspire/deployment-complete.png" alt-text="Screenshot of Azure portal showing the App Configuration deployment is complete.":::
93
+
:::image type="content" source="media/aspire/deployment-complete.png" alt-text="Screenshot of Azure portal showing the App Configuration deployment is complete." lightbox="media/aspire/deployment-complete.png":::
94
94
95
95
## Add a key-value
96
96
@@ -148,11 +148,11 @@ Add the following key-value to your App Configuration store and leave **Label**
148
148
149
149
1. Run the `AppHost` project. Go to the Aspire dashboard. You see the App Configuration emulator resource is running.
150
150
151
-
:::image type="content" source="media/aspire/dashboard-emulator.png" alt-text="Screenshot of the Aspire dashboard showing the App Configuration emulator resource.":::
151
+
:::image type="content" source="media/aspire/dashboard-emulator.png" alt-text="Screenshot of the Aspire dashboard showing the App Configuration emulator resource." lightbox="media/aspire/dashboard-emulator.png":::
152
152
153
153
A container is started to run the App Configuration emulator.
154
154
155
-
:::image type="content" source="media/aspire/docker.png" alt-text="Screenshot of the docker desktop running a container.":::
155
+
:::image type="content" source="media/aspire/docker.png" alt-text="Screenshot of the docker desktop running a container." lightbox="media/aspire/docker.png":::
156
156
157
157
## Add a key-value
158
158
@@ -170,7 +170,7 @@ Add the following key-value to your App Configuration store and leave **Label**
170
170
171
171
1. Click the `Save` button.
172
172
173
-
:::image type="content" source="media/aspire/emulator-create-key.png" alt-text="Screenshot of the App Configuration emulator UI of creating a new key value.":::
173
+
:::image type="content" source="media/aspire/emulator-create-key.png" alt-text="Screenshot of the App Configuration emulator UI of creating a new key value." lightbox="media/aspire/emulator-create-key.png":::
174
174
175
175
:::zone-end
176
176
@@ -224,11 +224,11 @@ Add the following key-value to your App Configuration store and leave **Label**
224
224
225
225
1. **Restart** the `AppHost` project. Go to the Aspire dashboard and click the URL of the web frontend.
226
226
227
-
:::image type="content" source="media/aspire/dashboard-updated.png" alt-text="Screenshot of Aspire dashboard showing resources.":::
227
+
:::image type="content" source="media/aspire/dashboard-updated.png" alt-text="Screenshot of Aspire dashboard showing resources." lightbox="media/aspire/dashboard-updated.png":::
228
228
229
229
1. You see a page with a welcome message from Azure App Configuration.
230
230
231
-
:::image type="content" source="media/aspire/web-app-message.png" alt-text="Screenshot of a web app with a welcome message from Azure App Configuration.":::
231
+
:::image type="content" source="media/aspire/web-app-message.png" alt-text="Screenshot of a web app with a welcome message from Azure App Configuration." lightbox="media/aspire/web-app-message.png":::
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/quickstart-feature-flag-aspire.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Follow the documents to create an Aspire solution with dynamic configuration.
33
33
34
34
Add a feature flag called *Beta* to the App Configuration store (created in the [Prerequisites](./quickstart-feature-flag-aspire.md#prerequisites) steps), and leave **Label** and **Description** with their default values. For more information about how to add feature flags to a store using the Azure portal or the CLI, go to [Create a feature flag](./manage-feature-flags.md#create-a-feature-flag).
35
35
36
-
:::image type="content" source="media/add-beta-feature-flag.png" alt-text="Screenshot of adding a feature flag called Beta.":::
36
+
:::image type="content" source="media/add-beta-feature-flag.png" alt-text="Screenshot of adding a feature flag called Beta." lightbox="media/add-beta-feature-flag.png":::
37
37
38
38
:::zone-end
39
39
@@ -45,7 +45,7 @@ Add the following key-value through the App Configuration emulator UI.
:::image type="content" source="media/aspire/emulator-feature-flag.png" alt-text="Screenshot of adding a feature flag to emulator.":::
48
+
:::image type="content" source="media/aspire/emulator-feature-flag.png" alt-text="Screenshot of adding a feature flag to emulator." lightbox="media/aspire/emulator-feature-flag.png":::
49
49
50
50
Feature flags are special key-values that define Microsoft feature flags. Configuration providers identify feature flag by their specific content type and key prefix. The value of a feature flag is a json object that follows [`Microsoft Feature Flag schema`](https://github.com/microsoft/FeatureManagement/blob/main/Schema/FeatureFlag.v2.0.0.schema.json).
51
51
@@ -195,17 +195,17 @@ Add the following key-value through the App Configuration emulator UI.
195
195
196
196
1. Run the `AppHost` project. Go to the Aspire dashboard and open the web app.
197
197
198
-
:::image type="content" source="media/aspire/feature-flag-disabled.png" alt-text="Screenshot of a web app with three buttons on the side bar.":::
198
+
:::image type="content" source="media/aspire/feature-flag-disabled.png" alt-text="Screenshot of a web app with three buttons on the side bar." lightbox="media/aspire/feature-flag-disabled.png":::
199
199
200
200
1. In the Azure portal, navigate to the **Feature manager** of your App Configuration store and locate the *Beta* feature flag. Enable the flag by selecting the checkbox under **Enabled**.
201
201
202
202
1. Refresh the page a few times. When the refresh interval time window passes, the page will show with updated content.
203
203
204
-
:::image type="content" source="media/aspire/feature-flag-disabled.png" alt-text="Screenshot of a web app with Beta button on the side bar.":::
204
+
:::image type="content" source="media/aspire/feature-flag-disabled.png" alt-text="Screenshot of a web app with Beta button on the side bar." lightbox="media/aspire/feature-flag-disabled.png":::
205
205
206
206
1. Click the **Beta** button. It will bring you to the beta page that you enabled dynamically.
207
207
208
-
:::image type="content" source="media/aspire/beta-page.png" alt-text="Screenshot of the Beta page.":::
208
+
:::image type="content" source="media/aspire/beta-page.png" alt-text="Screenshot of the Beta page." lightbox="media/aspire/beta-page.png":::
209
209
210
210
:::zone-end
211
211
@@ -215,7 +215,7 @@ Add the following key-value through the App Configuration emulator UI.
215
215
216
216
1. Run the `AppHost` project. Go to the Aspire dashboard and open the web app.
217
217
218
-
:::image type="content" source="media/aspire/feature-flag-disabled.png" alt-text="Screenshot of a web app with three buttons on the side bar.":::
218
+
:::image type="content" source="media/aspire/feature-flag-disabled.png" alt-text="Screenshot of a web app with three buttons on the side bar." lightbox="media/aspire/feature-flag-disabled.png":::
219
219
220
220
1. Go to the emulator, edit the value of the feature flag to enable it.
221
221
@@ -225,11 +225,11 @@ Add the following key-value through the App Configuration emulator UI.
225
225
226
226
1. Refresh the page a few times. When the refresh interval time window passes, the page will show with updated content.
227
227
228
-
:::image type="content" source="media/aspire/feature-flag-enabled.png" alt-text="Screenshot of a web app with Beta button on the side bar.":::
228
+
:::image type="content" source="media/aspire/feature-flag-enabled.png" alt-text="Screenshot of a web app with Beta button on the side bar." lightbox="media/aspire/feature-flag-enabled.png":::
229
229
230
230
1. Click the **Beta** button. It will bring you to the beta page that you enabled dynamically.
231
231
232
-
:::image type="content" source="media/aspire/beta-page.png" alt-text="Screenshot of the Beta page.":::
232
+
:::image type="content" source="media/aspire/beta-page.png" alt-text="Screenshot of the Beta page." lightbox="media/aspire/beta-page.png":::
0 commit comments