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/feature-management-dotnet-reference.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,7 +248,7 @@ The `feature_management` section of the json document is used by convention to l
248
248
249
249
**Advanced:** The usage of colon ':' is forbidden in feature flag names.
250
250
251
-
#### Requirement Type
251
+
#### Requirement type
252
252
253
253
The `requirement_type` property of `conditions` is used to determine if the filters should use `Any` or `All` logic when evaluating the state of a feature. If `requirement_type` isn't specified, the default value is `Any`.
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/feature-management-javascript-reference.md
+21-24Lines changed: 21 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Here are some of the benefits of using JavaScript feature management library:
30
30
* Supports usage in both Node.js and browser environments
31
31
* Feature flag lifetime management with Azure App Configuration
32
32
* Configuration values can change in real-time
33
-
* Simple to Complex Scenarios Covered
33
+
* Simple to complex scenarios covered
34
34
* Toggle on/off features through declarative configuration file
35
35
* Dynamically evaluate state of feature based on call to server
36
36
@@ -53,7 +53,7 @@ As an example, a Microsoft Edge browser feature filter could be designed. This f
53
53
54
54
In JavaScript, developers commonly use objects or maps as the primary data structures to represent configurations. The JavaScript feature management library supports both of the configuration approaches, providing developers with the flexibility to choose the option that best fits their needs. The `FeatureManager` can read feature flags from different types of configuration using the built-in `ConfigurationObjectFeatureFlagProvider` and `ConfigurationMapFeatureFlagProvider`.
@@ -115,9 +115,9 @@ const featureManager = new FeatureManager(featureProvider);
115
115
116
116
Rather than hard coding your feature flags into your application, we recommend that you keep feature flags outside the application and manage them separately. Doing so allows you to modify flag states at any time and have those changes take effect in the application right away. The Azure App Configuration service provides a dedicated portal UI for managing all of your feature flags. See the [tutorial](./manage-feature-flags.md).
117
117
118
-
The Azure App Configuration service also delivers the feature flags to your application directly through its JavaSript client library [@azure/app-configuration-provider](https://www.npmjs.com/package/@azure/app-configuration-provider). The following example shows how to use the library.
118
+
The Azure App Configuration service also delivers the feature flags to your application directly through its JavaScript client library [@azure/app-configuration-provider](https://www.npmjs.com/package/@azure/app-configuration-provider). The following example shows how to use the library.
119
119
120
-
The App Configuration JavaScript provider provides feature flags in as a `Map` object. The built-in `ConfigurationMapFeatureFlagProvider` helps to load feature flags in this case.
120
+
The App Configuration JavaScript provider provides feature flags in a `Map` object. The built-in `ConfigurationMapFeatureFlagProvider` helps to load feature flags in this case.
@@ -221,7 +221,7 @@ In the above example, `FeatureW` specifies a `requirement_type` of `All`, meanin
221
221
222
222
The basic form of feature management is checking if a feature flag is enabled and then performing actions based on the result. Checking the state of a feature flag is done through `FeatureManager`'s `isEnabled` method.
`IFeatureFilterEvaluationContext` has a property named `parameters`. These parameters represent a raw configuration that the feature filter can use to decide how to evaluate whether the feature should be enabled or not. To use the browser feature filter as an example once again, the filter could use `parameters` to extract a set of allowed browsers that would be specified for the feature and then check if the request is being sent from one of those browsers.
297
297
298
-
### Use application context For feature evaluation
298
+
### Use application context for feature evaluation
299
299
300
300
A feature filter may need runtime application context to evaluate a feature flag. You can pass in the context as a parameter when calling `isEnabled`.
301
301
@@ -307,7 +307,7 @@ The feature filter can take advantage of the context that is passed in when `isE
307
307
308
308
## Built-in feature filters
309
309
310
-
There are a two feature filters that come with the `FeatureManagement` package: `TimeWindowFilter`, and `TargetingFilter`.
310
+
There are two feature filters that come with the `FeatureManagement` package: `TimeWindowFilter`, and `TargetingFilter`.
311
311
312
312
Each of the built-in feature filters has its own parameters. Here's the list of feature filters along with examples.
313
313
@@ -372,18 +372,18 @@ Targeting is a feature management strategy that enables developers to progressiv
372
372
373
373
The following steps demonstrate an example of a progressive rollout for a new 'Beta' feature:
374
374
375
-
1. Individual users Jeff and Alicia are granted access to the Beta
376
-
2. Another user, Mark, asks to opt in and is included.
377
-
3. Twenty percent of a group known as "Ring1" users are included in the Beta.
378
-
5. The number of "Ring1" users included in the beta is bumped up to 100 percent.
379
-
5. Five percent of the user base is included in the beta.
380
-
6. The rollout percentage is bumped up to 100 percent and the feature is completely rolled out.
375
+
1. Individual users Jeff and Alicia are granted access to the Beta.
376
+
1. Another user, Mark, asks to opt in and is included.
377
+
1. Twenty percent of a group known as "Ring1" users are included in the Beta.
378
+
1. The number of "Ring1" users included in the Beta is bumped up to 100 percent.
379
+
1. Five percent of the user base is included in the Beta.
380
+
1. The rollout percentage is bumped up to 100 percent and the feature is completely rolled out.
381
381
382
-
This strategy for rolling out a feature is built in to the library through the included [Microsoft.Targeting](#microsofttargeting) feature filter.
382
+
This strategy for rolling out a feature is built into the library through the included [Microsoft.Targeting](#microsofttargeting) feature filter.
383
383
384
384
### Targeting a user with targeting context
385
385
386
-
The targeting filter relies on a targeting context to evaluate whether a feature should be turned on. This targeting context contains information such as what user is currently being evaluated, and what groups the user in. The targeting context must be passed directly when `isEnabled` is called.
386
+
The targeting filter relies on a targeting context to evaluate whether a feature should be turned on. This targeting context contains information such as what user is currently being evaluated, and what groups the user is in. The targeting context must be passed directly when `isEnabled` is called.
If your application runs in the Node.js, install the [`"@microsoft/feature-management-applicationinsights-node"`](https://www.npmjs.com/package/@microsoft/feature-management-applicationinsights-node) package. The following example shows how you can create a built-in Application Insights telemetry publisher and register it to the feature manager.
0 commit comments