Skip to content

Commit 4847797

Browse files
committed
Apply updates from PR review
1 parent f5eca9d commit 4847797

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

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

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You can use Visual Studio to create a new console app project.
4646

4747
## Use the feature flag
4848

49-
1. Right-click your project, and select **Manage NuGet Packages**. On the **Browse** tab, search and add the following NuGet packages to your project.
49+
1. Right-click your project and select **Manage NuGet Packages**. On the **Browse** tab, search and add the latest stable versions of the following NuGet packages to your project.
5050

5151
### [Microsoft Entra ID (recommended)](#tab/entra-id)
5252

@@ -64,8 +64,6 @@ You can use Visual Studio to create a new console app project.
6464
```
6565
---
6666
67-
Make sure that the version of `Microsoft.FeatureManagement` is greater than 3.1.0.
68-
6967
1. Open *Program.cs* and add the following statements.
7068
7169
### [Microsoft Entra ID (recommended)](#tab/entra-id)
@@ -156,10 +154,6 @@ You can use Visual Studio to create a new console app project.
156154
var featureManager = new FeatureManager(
157155
new ConfigurationFeatureDefinitionProvider(configuration));
158156
159-
IVariantFeatureManager featureManager = new FeatureManager(
160-
featureDefinitionProvider,
161-
new FeatureManagementOptions());
162-
163157
if (await featureManager.IsEnabledAsync("Beta"))
164158
{
165159
Console.WriteLine("Welcome to the beta!");
@@ -183,11 +177,6 @@ You can use Visual Studio to create a new console app project.
183177
var featureManager = new FeatureManager(
184178
new ConfigurationFeatureDefinitionProvider(configuration));
185179
186-
187-
IVariantFeatureManager featureManager = new FeatureManager(
188-
featureDefinitionProvider,
189-
new FeatureManagementOptions());
190-
191180
if (await featureManager.IsEnabledAsync("Beta"))
192181
{
193182
Console.WriteLine("Welcome to the beta!");

0 commit comments

Comments
 (0)