Skip to content

Commit 3990b32

Browse files
update
1 parent ef1ecb3 commit 3990b32

4 files changed

Lines changed: 25 additions & 25 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The configuration refresh is triggered by the incoming requests to your web app.
109109
110110
1. Run the `AppHost` project. Go to the Aspire dashboard and open the web app.
111111
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":::
113113
114114
1. In the Azure portal, navigate to the **Configuration explorer** of your App Configuration store, and update the value of the following key.
115115
@@ -119,11 +119,11 @@ The configuration refresh is triggered by the incoming requests to your web app.
119119
120120
1. Refresh the browser a few times. When the refresh interval elapses after 30 seconds, the page shows with updated content.
121121
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":::
123123
124124
1. Go to the Aspire dashboard and open the structured logs. You see that the `webfrontend` resource has a log with message "Configuration reloaded.".
125125
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":::
127127
128128
:::zone-end
129129
@@ -133,7 +133,7 @@ The configuration refresh is triggered by the incoming requests to your web app.
133133
134134
1. Run the `AppHost` project. Go to the Aspire dashboard and open the web app.
135135
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":::
137137
138138
1. Go to the emulator UI, edit the value of the following key.
139139
@@ -143,11 +143,11 @@ The configuration refresh is triggered by the incoming requests to your web app.
143143
144144
1. Refresh the browser a few times. When the refresh interval elapses after 30 seconds, the page shows with updated content.
145145
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":::
147147
148148
1. Go to the Aspire dashboard and open the structured logs. You see that the `webfrontend` resource has a log with message "Configuration reloaded.".
149149
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":::
151151
152152
:::zone-end
153153
-3.28 KB
Loading

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ The Aspire Starter template includes a frontend web app that communicates with a
3030

3131
1. Run the `AppHost` project. You see the Aspire dashboard in your browser.
3232

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":::
3434

3535
1. Click the URL of the web frontend. You see a page with a welcome message.
3636

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":::
3838

3939
:::zone target="docs" pivot="azure"
4040

@@ -60,7 +60,7 @@ The Aspire Starter template includes a frontend web app that communicates with a
6060
> [!IMPORTANT]
6161
> 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).
6262
> 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":::
6464
6565
> [!NOTE]
6666
> 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
8282
8383
1. Run the `AppHost` project. You see the Azure App Configuration resource is provisioning.
8484
85-
:::image type="content" source="media/aspire/resource-provisioning.png" alt-text="Screenshot of Aspire dashboard provisioning Azure App Configuration resource.":::
85+
:::image type="content" source="media/aspire/resource-provisioning.png" alt-text="Screenshot of Aspire dashboard provisioning Azure App Configuration resource." lightbox="media/aspire/resource-provisioning.png":::
8686
8787
1. Wait for a few minutes and you see the Azure App Configuration resource is provisioned and is running.
8888
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":::
9090
9191
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.
9292
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":::
9494
9595
## Add a key-value
9696
@@ -148,11 +148,11 @@ Add the following key-value to your App Configuration store and leave **Label**
148148
149149
1. Run the `AppHost` project. Go to the Aspire dashboard. You see the App Configuration emulator resource is running.
150150
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":::
152152
153153
A container is started to run the App Configuration emulator.
154154
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":::
156156
157157
## Add a key-value
158158
@@ -170,7 +170,7 @@ Add the following key-value to your App Configuration store and leave **Label**
170170
171171
1. Click the `Save` button.
172172
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":::
174174
175175
:::zone-end
176176
@@ -224,11 +224,11 @@ Add the following key-value to your App Configuration store and leave **Label**
224224
225225
1. **Restart** the `AppHost` project. Go to the Aspire dashboard and click the URL of the web frontend.
226226
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":::
228228
229229
1. You see a page with a welcome message from Azure App Configuration.
230230
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":::
232232
233233
## Next steps
234234

articles/azure-app-configuration/quickstart-feature-flag-aspire.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Follow the documents to create an Aspire solution with dynamic configuration.
3333

3434
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).
3535

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":::
3737

3838
:::zone-end
3939

@@ -45,7 +45,7 @@ Add the following key-value through the App Configuration emulator UI.
4545
|-------------------------------|-------------------------------------------------------------| --------------------------------|
4646
| *.appconfig.featureflag/Beta* | *application/vnd.microsoft.appconfig.ff+json;charset=utf-8* | *{"id":"Beta","enabled":false}* |
4747

48-
:::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":::
4949

5050
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).
5151

@@ -195,17 +195,17 @@ Add the following key-value through the App Configuration emulator UI.
195195
196196
1. Run the `AppHost` project. Go to the Aspire dashboard and open the web app.
197197
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":::
199199
200200
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**.
201201
202202
1. Refresh the page a few times. When the refresh interval time window passes, the page will show with updated content.
203203
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":::
205205
206206
1. Click the **Beta** button. It will bring you to the beta page that you enabled dynamically.
207207
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":::
209209
210210
:::zone-end
211211
@@ -215,7 +215,7 @@ Add the following key-value through the App Configuration emulator UI.
215215
216216
1. Run the `AppHost` project. Go to the Aspire dashboard and open the web app.
217217
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":::
219219
220220
1. Go to the emulator, edit the value of the feature flag to enable it.
221221
@@ -225,11 +225,11 @@ Add the following key-value through the App Configuration emulator UI.
225225
226226
1. Refresh the page a few times. When the refresh interval time window passes, the page will show with updated content.
227227
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":::
229229
230230
1. Click the **Beta** button. It will bring you to the beta page that you enabled dynamically.
231231
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":::
233233
234234
:::zone-end
235235

0 commit comments

Comments
 (0)