Skip to content

Commit 38def95

Browse files
(AzureCXP) Fixes MicrosoftDocs/azure-docs#50014
Added instructions for installation of Microsoft.FeatureManagement NuGet package
1 parent 232d0d8 commit 38def95

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ In this tutorial, you will learn how to:
3535
3636
## Set up feature management
3737

38+
Add reference to the `Microsoft.FeatureManagement` NuGet package by running the following command from Visual Studio Package Manager Console:
39+
40+
```dotnetcli
41+
dotnet add package Microsoft.FeatureManagement
42+
```
43+
44+
Run the following command to restore packages for your project:
45+
46+
```dotnetcli
47+
dotnet restore
48+
```
49+
3850
The .NET Core feature manager `IFeatureManager` gets feature flags from the framework's native configuration system. As a result, you can define your application's feature flags by using any configuration source that .NET Core supports, including the local *appsettings.json* file or environment variables. `IFeatureManager` relies on .NET Core dependency injection. You can register the feature management services by using standard conventions:
3951

4052
```csharp

0 commit comments

Comments
 (0)