Skip to content

Commit 3265c55

Browse files
authored
Merge pull request #227310 from maud-lv/ml-ac-include
Update store creation
2 parents 54a0123 + 28e1f91 commit 3265c55

33 files changed

+360
-300
lines changed

articles/app-service/app-service-configuration-references.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This topic shows you how to work with configuration data in your App Service or
1717

1818
To get started with using App Configuration references in App Service, you'll first need an App Configuration store, and provide your app permission to access the configuration key-values in the store.
1919

20-
1. Create an App Configuration store by following the [App Configuration quickstart](../azure-app-configuration/quickstart-dotnet-core-app.md#create-an-app-configuration-store).
20+
1. Create an App Configuration store by following the [App Configuration quickstart](../azure-app-configuration/quickstart-azure-app-configuration-create.md).
2121

2222
> [!NOTE]
2323
> App Configuration references do not yet support network-restricted configuration stores.

articles/azure-app-configuration/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
- name: Quickstarts
1212
expanded: true
1313
items:
14+
- name: Create an App Configuration store
15+
href: quickstart-azure-app-configuration-create.md
1416
- name: Configuration
1517
items:
1618
- name: ASP.NET Core

articles/azure-app-configuration/enable-dynamic-configuration-aspnet-netfx.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-app-configuration
77
ms.devlang: csharp
88
ms.custom: devx-track-csharp
99
ms.topic: tutorial
10-
ms.date: 10/12/2021
10+
ms.date: 03/20/2023
1111
ms.author: zhenlwa
1212

1313
#Customer intent: I want to dynamically update my ASP.NET web application (.NET Framework) to use the latest configuration data in App Configuration.
@@ -24,25 +24,22 @@ In this tutorial, you learn how to:
2424
2525
## Prerequisites
2626

27-
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
27+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/).
28+
- An App Configuration store. [Create a store](./quickstart-azure-app-configuration-create.md#create-an-app-configuration-store).
2829
- [Visual Studio](https://visualstudio.microsoft.com/vs)
2930
- [.NET Framework 4.7.2 or later](https://dotnet.microsoft.com/download/dotnet-framework)
3031

31-
## Create an App Configuration store
32+
## Add key-values
3233

33-
[!INCLUDE[Azure App Configuration resource creation steps](../../includes/azure-app-configuration-create.md)]
34+
Add the following key-values to the App Configuration store and leave **Label** and **Content Type** with their default values. For more information about how to add key-values to a store using the Azure portal or the CLI, go to [Create a key-value](./quickstart-azure-app-configuration-create.md#create-a-key-value).
3435

35-
7. Select **Operations** > **Configuration explorer** > **Create** > **Key-value** to add the following key-values:
36-
37-
| Key | Value |
38-
|------------------------------------|-------------------------------------|
39-
| *TestApp:Settings:BackgroundColor* | *White* |
40-
| *TestApp:Settings:FontColor* | *Black* |
41-
| *TestApp:Settings:FontSize* | *40* |
42-
| *TestApp:Settings:Message* | *Data from Azure App Configuration* |
43-
| *TestApp:Settings:Sentinel* | *v1* |
44-
45-
Leave **Label** and **Content type** empty.
36+
| Key | Value |
37+
|------------------------------------|-------------------------------------|
38+
| *TestApp:Settings:BackgroundColor* | *White* |
39+
| *TestApp:Settings:FontColor* | *Black* |
40+
| *TestApp:Settings:FontSize* | *40* |
41+
| *TestApp:Settings:Message* | *Data from Azure App Configuration* |
42+
| *TestApp:Settings:Sentinel* | *v1* |
4643

4744
## Create an ASP.NET Web Application
4845

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

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-app-configuration
77
ms.devlang: csharp
88
ms.custom: devx-track-csharp
99
ms.topic: tutorial
10-
ms.date: 07/24/2020
10+
ms.date: 03/20/2023
1111
ms.author: malev
1212

1313
#Customer intent: I want to dynamically update my .NET Framework app to use the latest configuration data in App Configuration.
@@ -24,21 +24,18 @@ In this tutorial, you learn how to:
2424
2525
## Prerequisites
2626

27-
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
27+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/).
28+
- An App Configuration store. [Create a store](./quickstart-azure-app-configuration-create.md#create-an-app-configuration-store).
2829
- [Visual Studio](https://visualstudio.microsoft.com/vs)
2930
- [.NET Framework 4.7.2 or later](https://dotnet.microsoft.com/download/dotnet-framework)
3031

31-
## Create an App Configuration store
32+
## Add a key-value
3233

33-
[!INCLUDE [azure-app-configuration-create](../../includes/azure-app-configuration-create.md)]
34+
Add the following key-value to the App Configuration store and leave **Label** and **Content Type** with their default values. For more information about how to add key-values to a store using the Azure portal or the CLI, go to [Create a key-value](./quickstart-azure-app-configuration-create.md#create-a-key-value).
3435

35-
7. Select **Configuration explorer** > **+ Create** > **Key-value** to add the following key-value:
36-
37-
| Key | Value |
38-
|----------------------------|-------------------------------------|
39-
| *TestApp:Settings:Message* | *Data from Azure App Configuration* |
40-
41-
Leave **Label** and **Content Type** empty.
36+
| Key | Value |
37+
|----------------------------|-------------------------------------|
38+
| *TestApp:Settings:Message* | *Data from Azure App Configuration* |
4239

4340
## Create a .NET Framework console app
4441

articles/azure-app-configuration/howto-leverage-json-content-type.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid:
88
ms.service: azure-app-configuration
99
ms.devlang: azurecli
1010
ms.topic: how-to
11-
ms.date: 08/24/2022
11+
ms.date: 03/27/2023
1212
ms.custom: devdivchpfy22
1313
ms.author: avgupta
1414

@@ -65,31 +65,28 @@ In this tutorial, you'll learn how to:
6565

6666
[!INCLUDE [azure-cli-prepare-your-environment.md](~/articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md)]
6767

68+
- An App Configuration store. [Create a store](./quickstart-azure-app-configuration-create.md#create-an-app-configuration-store).
6869
- This tutorial requires version 2.10.0 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
6970

70-
## Create an App Configuration store
71-
72-
[!INCLUDE [azure-app-configuration-create](../../includes/azure-app-configuration-create.md)]
73-
7471
## Create JSON key-values in App Configuration
7572

7673
JSON key-values can be created using Azure portal, Azure CLI, or by importing from a JSON file. In this section, you'll find instructions on creating the same JSON key-values using all three methods.
7774

7875
### Create JSON key-values using Azure portal
7976

80-
Browse to your App Configuration store, and select **Configuration Explorer** > **Create** > **Key-value** to add the following key-value pairs:
77+
Add the following key-values to the App Configuration store. Leave **Label** with its default value. For more information about how to add key-values to a store using the Azure portal or the CLI, go to [Create a key-value](./quickstart-azure-app-configuration-create.md#create-a-key-value).
8178

82-
| Key | Value | Content Type |
83-
|---|---|---|
84-
| Settings:BackgroundColor | "Green" | application/json |
85-
| Settings:FontSize | 24 | application/json |
86-
| Settings:UseDefaultRouting | false | application/json |
87-
| Settings:BlockedUsers | null | application/json |
88-
| Settings:ReleaseDate | "2020-08-04T12:34:56.789Z" | application/json |
89-
| Settings:RolloutPercentage | [25,50,75,100] | application/json |
90-
| Settings:Logging | {"Test":{"Level":"Debug"},"Prod":{"Level":"Warning"}} | application/json |
79+
| Key | Value | Content Type |
80+
| ---------------------------- | ------------------------------------------------------- | ------------------ |
81+
| *Settings:BackgroundColor* | *"Green"* | *application/json* |
82+
| *Settings:FontSize* | *24* | *application/json* |
83+
| *Settings:UseDefaultRouting* | *false* | *application/json* |
84+
| *Settings:BlockedUsers* | *null* | *application/json* |
85+
| *Settings:ReleaseDate* | *"2020-08-04T12:34:56.789Z"* | *application/json* |
86+
| *Settings:RolloutPercentage* | *[25,50,75,100]* | *application/json* |
87+
| *Settings:Logging* | *{"Test":{"Level":"Debug"},"Prod":{"Level":"Warning"}}* | *application/json* |
9188

92-
Leave **Label** empty and select **Apply**.
89+
1. Select **Apply**.
9390

9491
### Create JSON key-values using Azure CLI
9592

@@ -132,7 +129,7 @@ az appconfig kv import -s file --format json --path "~/Import.json" --content-ty
132129
```
133130

134131
> [!NOTE]
135-
> The `--depth` argument is used for flattening hierarchical data from a file into key-value pairs. In this tutorial, depth is specified for demonstrating that you can also store JSON objects as values in App Configuration. If depth isn't specified, JSON objects will be flattened to the deepest level by default.
132+
> The `--depth` argument is used for flattening hierarchical data from a file into key-values. In this tutorial, depth is specified for demonstrating that you can also store JSON objects as values in App Configuration. If depth isn't specified, JSON objects will be flattened to the deepest level by default.
136133
137134
The JSON key-values you created should look like this in App Configuration:
138135

0 commit comments

Comments
 (0)