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/quickstart-feature-flag-dotnet.md
+1-12Lines changed: 1 addition & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ You can use Visual Studio to create a new console app project.
46
46
47
47
## Use the feature flag
48
48
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.
50
50
51
51
### [Microsoft Entra ID (recommended)](#tab/entra-id)
52
52
@@ -64,8 +64,6 @@ You can use Visual Studio to create a new console app project.
64
64
```
65
65
---
66
66
67
-
Make sure that the version of `Microsoft.FeatureManagement` is greater than 3.1.0.
68
-
69
67
1. Open *Program.cs* and add the following statements.
70
68
71
69
### [Microsoft Entra ID (recommended)](#tab/entra-id)
@@ -156,10 +154,6 @@ You can use Visual Studio to create a new console app project.
156
154
var featureManager = new FeatureManager(
157
155
new ConfigurationFeatureDefinitionProvider(configuration));
158
156
159
-
IVariantFeatureManager featureManager = new FeatureManager(
160
-
featureDefinitionProvider,
161
-
new FeatureManagementOptions());
162
-
163
157
if (await featureManager.IsEnabledAsync("Beta"))
164
158
{
165
159
Console.WriteLine("Welcome to the beta!");
@@ -183,11 +177,6 @@ You can use Visual Studio to create a new console app project.
183
177
var featureManager = new FeatureManager(
184
178
new ConfigurationFeatureDefinitionProvider(configuration));
185
179
186
-
187
-
IVariantFeatureManager featureManager = new FeatureManager(
0 commit comments