Skip to content

Commit d37321c

Browse files
update
1 parent f7e9e4a commit d37321c

File tree

1 file changed

+2
-2
lines changed
  • articles/azure-app-configuration

1 file changed

+2
-2
lines changed

articles/azure-app-configuration/faq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ sections:
181181
182182
To select other labels and your Spring profile(s), you can use a label filter like `',${spring.profiles.active}'`, which will select all keys without a label and the ones matching your Spring profiles. The rightmost label(s) take priority when duplicate keys are found.
183183
184-
- question: How to use Feature Management in Blazor applications or as scoped services in .NET?
184+
- question: How to enable Feature Management in Blazor applications or as scoped services in .NET?
185185
answer: |
186-
The `AddScopedFeatureManagement` method should be used instead of `AddFeatureManagement`. This will ensure that feature management services, including feature filters, are added as scoped services.
186+
Starting with version 3.1.0, the `Microsoft.FeatureManagement` library allows running feature management services, including feature filters, as scoped services in dependency injection-based .NET applications. To take advantage of this feature, you can simply replace the `AddFeatureManagement` call in your code with `AddScopedFeatureManagement`, as shown in the following code snippet:
187187
188188
```C#
189189
services.AddScopedFeatureManagement();

0 commit comments

Comments
 (0)