Skip to content

Commit 934ac13

Browse files
committed
Improving acrolinx score
1 parent 3d98b3f commit 934ac13

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

articles/azure-app-configuration/manage-feature-flags.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.custom: "devx-track-csharp, mvc"
1515

1616
# Quickstart: Manage feature flags in Azure App Configuration
1717

18-
Azure App Configuration includes feature flags, which you can use to enable or disable a functionality, and variant feature flags (preview), which allow multiple variations of a feature flag.
18+
Azure App Configuration includes feature flags, which you can use to enable or disable a functionality, and variant feature flags, which allow multiple variations of a feature flag.
1919

2020
The Feature manager in the Azure portal provides a UI for creating and managing the feature flags and the variant feature flags that you use in your applications.
2121

@@ -59,9 +59,9 @@ az appconfig feature set --name <name> --feature Beta
5959

6060
---
6161

62-
## Create a variant feature flag (preview)
62+
## Create a variant feature flag
6363

64-
Add a new variant feature flag (preview) by opening your Azure App Configuration store in the Azure portal and from the **Operations** menu, select **Feature manager** > **Create**. Then select **Variant feature flag (Preview)**.
64+
Add a new variant feature flag by opening your Azure App Configuration store in the Azure portal and from the **Operations** menu, select **Feature manager** > **Create**. Then select **Variant feature flag**.
6565

6666
:::image type="content" source="media\manage-feature-flags\variant-feature-flags-menu.png" alt-text="Screenshot of the Azure platform. Create a variant feature flag.":::
6767

articles/azure-app-configuration/use-variant-feature-flags-aspnet-core.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.date: 10/10/2024
1313

1414
# Tutorial: Use variant feature flags from Azure App Configuration in an ASP.NET application
1515

16-
In this tutorial, you'll use a variant feature flag to manage experiences for different user segments in an example application, *Quote of the Day*. You'll utilize the variant feature flag created in [Use variant feature flags](./use-variant-feature-flags.md). Before proceeding, ensure you create the variant feature flag named *Greeting* in your App Configuration store.
16+
In this tutorial, you use a variant feature flag to manage experiences for different user segments in an example application, *Quote of the Day*. You utilize the variant feature flag created in [Use variant feature flags](./use-variant-feature-flags.md). Before proceeding, ensure you create the variant feature flag named *Greeting* in your App Configuration store.
1717

1818
> [!div class="checklist"]
1919
> * Set up an ASP.NET app to consume variant feature flags
@@ -26,19 +26,19 @@ In this tutorial, you'll use a variant feature flag to manage experiences for di
2626

2727
## Create an ASP.NET Core web app
2828

29-
1. Open a command prompt and run the following code. This creates a new Razor Pages application in ASP.NET Core, using Individual account auth, and places it in an output folder named *QuoteOfTheDay*.
29+
1. Run the following code in a command prompt. This command creates a new Razor Pages application in ASP.NET Core, using Individual account auth, and places it in an output folder named *QuoteOfTheDay*.
3030

3131
```dotnetcli
3232
dotnet new razor --auth Individual -o QuoteOfTheDay
3333
```
3434
35-
1. In the command prompt, navigate to the *QuoteOfTheDay* folder and run the following command to create a [user secret](/aspnet/core/security/app-secrets) for the application. This secret holds the endpoint for App Configuration.
35+
1. Navigate to the *QuoteOfTheDay* folder and run the following command to create a [user secret](/aspnet/core/security/app-secrets) for the application. This secret holds the endpoint for App Configuration.
3636
3737
```dotnetcli
3838
dotnet user-secrets set Endpoints:AppConfiguration "<App Configuration Endpoint>"
3939
```
4040
41-
1. Add the latest versions of the required libraries.
41+
1. Add the latest versions of the required packages.
4242
4343
```dotnetcli
4444
dotnet add package Azure.Identity
@@ -58,7 +58,7 @@ In this tutorial, you'll use a variant feature flag to manage experiences for di
5858
5959
1. In *Program.cs*, under the line `var builder = WebApplication.CreateBuilder(args);`, add the App Configuration provider, which pulls down the configuration from Azure App Configuration when the application starts. By default, the `UseFeatureFlags` method pulls down all feature flags with no label.
6060
61-
You use the `DefaultAzureCredential` to authenticate to your App Configuration store. Follow the [instructions](./concept-enable-rbac#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.
61+
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.
6262
6363
```csharp
6464
builder.Configuration

articles/azure-app-configuration/use-variant-feature-flags.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ ms.date: 10/10/2024
1313

1414
# Use variant feature flags
1515

16-
Variant feature flags enable your application to support multiple variants of a feature. The variants of your feature can be assigned to specific users, groups, or percentile buckets. These can be particularly useful for feature rollouts, configuration rollouts, and feature experimentation (also known as A/B testing).
16+
Variant feature flags enable your application to support multiple variants of a feature. The variants of your feature can be assigned to specific users, groups, or percentile buckets. These flags can be useful for feature rollouts, configuration rollouts, and feature experimentation (also known as A/B testing).
1717

1818
## What is a variant feature flag?
1919

2020
A variant feature flag uses variants and allocation to assign values to users. Variants are defined with a **Name** and a **Configuration Value**. Name is simply an identifier to help tell variants apart. The configuration value on a variant can be any valid JSON or JSON value. Using JSON allows variants to contain as much or as little data as needed to control a feature.
2121

2222
### Variants
2323

24-
The following is an example of two variants using JSON objects for the configuration value.
24+
The following example shows two variants using JSON objects for the configuration value.
2525

2626
| Variant Name | Variant Configuration Value |
2727
|---|---|
@@ -30,11 +30,11 @@ The following is an example of two variants using JSON objects for the configura
3030

3131
### Allocation
3232

33-
Allocation controls which segment of users will get each variant. The following example allocates 10% of users to get the *Minimal* variant and 90% to get the *Standard* variant.
33+
Allocation controls which segment of users get each variant. The following example allocates 10% of users to get the *Minimal* variant and 90% to get the *Standard* variant.
3434

3535
| Variant | Allocation | Remarks |
3636
|---|---|---|
37-
| Minimal | 10% | Assign the variant to users in the 0 to 10th percentile. |
37+
| Minimal | 10% | Assign the variant to users in the 0th to 10th percentile. |
3838
| Standard | 90% | Assign the variant to users in the 10th to 100th percentile. |
3939

4040
### Overrides
@@ -48,14 +48,14 @@ You can assign variants to specific groups or users irrespective of the percenta
4848
### Default variants and kill switch
4949

5050
Variant feature flags have two variant defaults, **DefaultWhenEnabled** and **DefaultWhenDisabled**.
51-
1. The **DefaultWhenEnabled** variant will take effect if the flag is enabled but the allocation does assign all percentiles. Any user placed in an unassigned percentile will receive the **DefaultWhenEnabled** variant.
52-
1. The **DefaultWhenDisabled** variant will take effect if the flag is disabled, usually done by setting the **Enabled** field to false, also known as using the "kill switch".
51+
1. The **DefaultWhenEnabled** variant takes effect if the flag is enabled but the allocation does assign all percentiles. Any user placed in an unassigned percentile receives the **DefaultWhenEnabled** variant.
52+
1. The **DefaultWhenDisabled** variant takes effect if the flag is disabled, done by setting the **Enabled** field to false, also known as using the "kill switch".
5353

54-
The **kill switch** is used to stop users from allocating. Usually it is used when one or more of the variants have a problem- whether it's a bug, regression, or bad performance. To use the kill switch, set the **Enabled** field of the variant flag to false. Regardless of which percentiles users were a part of, all users will now be given the **DefaultWhenDisabled** variant.
54+
The **kill switch** is used to stop users from allocating. Usually it's used when one or more of the variants have a problem- whether it's a bug, regression, or bad performance. To use the kill switch, set the **Enabled** field of the variant flag to false. Regardless which percentiles users were a part of, all users now are given the **DefaultWhenDisabled** variant.
5555

5656
## Build an app with a variant feature flag
5757

58-
In this tutorial, you will create a web app named _Quote of the Day_. When the app is loaded, it displays a quote. Users can interact with the heart button to like it. To improve user engagement, you want to explore whether a personalized greeting message will increase the number of users who like the quote. Users who receive the _None_ variant will see no greeting. Users who receive the _Simple_ variant will get a simple greeting message. Users who receive the _Long_ variant will get a slightly longer greeting.
58+
In this tutorial, you create a web app named _Quote of the Day_. When the app is loaded, it displays a quote. Users can interact with the heart button to like it. To improve user engagement, you want to explore whether a personalized greeting message increases the number of users who like the quote. Users who receive the _None_ variant see no greeting. Users who receive the _Simple_ variant get a simple greeting message. Users who receive the _Long_ variant get a slightly longer greeting.
5959

6060
1. Create a variant feature flag called *Greeting* with no label in your App Configuration store. It includes three variants: *None*, *Simple*, and *Long*, each corresponding to different greeting messages. Refer to the following table for their configuration values and allocation settings. For more information on how to add a variant feature flag, see [Create a variant feature flag](./manage-feature-flags.md#create-a-variant-feature-flag).
6161

@@ -65,7 +65,7 @@ In this tutorial, you will create a web app named _Quote of the Day_. When the a
6565
| Simple | "Hello!" | 25% |
6666
| Long | "I hope this makes your day!" | 25% |
6767

68-
2. Continue to the following instructions to use the variant feature flag in your application for the language or platform you are using.
68+
2. Continue to the following instructions to use the variant feature flag in your application for the language or platform you're using.
6969
* > [ASP.NET Core](./use-variant-feature-flags-aspnet-core.md)
7070
7171
## Next steps

0 commit comments

Comments
 (0)