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
+29-25Lines changed: 29 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,16 @@ Here are some of the benefits of using JavaScript feature management library:
28
28
* Low barrier to entry
29
29
* Supports both JSON objects and map-based feature flag sources
30
30
* Supports usage in both Node.js and browser environments
31
-
* Feature Flag lifetime management with Azure App Configuration
31
+
* Feature flag lifetime management with Azure App Configuration
32
32
* Configuration values can change in real-time
33
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
37
-
The JavaScript feature management library is open source. For more information, visit the [GitHub repo](https://github.com/microsoft/FeatureManagement-JavaScript).
37
+
The JavaScript feature management library is open source. For more information, visit the [GitHub repo](https://github.com/microsoft/FeatureManagement-JavaScript).
38
+
39
+
> [!NOTE]
40
+
> It is recommended to use the feature management library together with Azure App Configuration. Azure App Configuration provides a solution for centrally managing application settings and feature flags. For more details, please refer to this [section](#use-feature-flags-from-azure-app-configuration).
38
41
39
42
## Feature flags
40
43
@@ -74,27 +77,19 @@ const featureProvider = new ConfigurationMapFeatureFlagProvider(config);
### Use feature flags from Azure App Configuration
112
115
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
+
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.
119
+
113
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.
> For more information about how to use feature management library with Azure App Configuration, pelase go to the [quickstart](./quickstart-javascript.md).
131
+
> For more information about how to use feature management library with Azure App Configuration, please go to the [quickstart](./quickstart-javascript.md).
123
132
124
133
### Feature flag declaration
125
134
126
-
Below we have an example of the format used to set up feature flags in a JSON file.
135
+
The following example shows the format used to set up feature flags in a JSON file.
127
136
128
137
```json
129
138
{
130
139
"feature_management": {
131
140
"feature_flags": [
132
141
{
133
142
"id": "FeatureT",
134
-
"enabled": "true"
143
+
"enabled": true
135
144
},
136
145
{
137
146
"id": "FeatureU",
138
-
"enabled": "false"
147
+
"enabled": false
139
148
},
140
149
{
141
150
"id": "FeatureV",
142
-
"enabled": "true",
151
+
"enabled": true,
143
152
"conditions": {
144
153
"client_filters": [
145
154
{
@@ -157,7 +166,7 @@ Below we have an example of the format used to set up feature flags in a JSON fi
157
166
}
158
167
```
159
168
160
-
The `feature_management` section is used by convention to load feature flag settings. The `feature_flags` section is a list of the feature flags that are loaded into the library. In the section above, we see three different features. Features define their feature filters using the `client_filters` property, inside of `conditions`. In the feature filters for `FeatureT`, we see `enabled` is on with no filters defined, resulting in `FeatureT` always returning `true` . `FeatureU` is the same as `FeatureT` but with `enabled` is `false` resulting in the feature always returning `false`. `FeatureV` specifies a feature filter named `Microsoft.TimeWindow`. `FeatureV` is an example of a configurable feature filter. We can see in the example that the filter has a `parameters` property. The `parameters` property is used to configure the filter. In this case, the start and end times for the feature to be active are configured.
169
+
The `feature_management` section is used by convention to load feature flag settings. The `feature_flags` section is a list of the feature flags that are loaded into the library. In the section above, we see three different features. Features define their feature filters using the `client_filters` property, inside of `conditions`. In the feature filters for `FeatureT`, we see `enabled` is `true` with no filters defined, resulting in `FeatureT` always returning `true` . `FeatureU` is the same as `FeatureT` but with `enabled` is `false` resulting in the feature always returning `false`. `FeatureV` specifies a feature filter named `Microsoft.TimeWindow`. `FeatureV` is an example of a configurable feature filter. We can see in the example that the filter has a `parameters` property. The `parameters` property is used to configure the filter. In this case, the start and end times for the feature to be active are configured.
161
170
162
171
The detailed schema of the `feature_management` section can be found [here](https://github.com/microsoft/FeatureManagement/blob/main/Schema/FeatureManagement.v2.0.0.schema.json).
163
172
@@ -178,7 +187,7 @@ A `requirement_type` of `All` changes the traversal. First, if there are no filt
178
187
"feature_flags": [
179
188
{
180
189
"id": "FeatureW",
181
-
"enabled": "true",
190
+
"enabled": true,
182
191
"conditions": {
183
192
"requirement_type": "All",
184
193
"client_filters": [
@@ -697,8 +706,3 @@ To learn how to use feature filters, continue to the following tutorials.
697
706
698
707
> [!div class="nextstepaction"]
699
708
> [Roll out features to targeted audiences](./howto-targetingfilter.md)
700
-
701
-
To learn how to run experiments with variant feature flags, continue to the following tutorial.
702
-
703
-
> [!div class="nextstepaction"]
704
-
> [Run experiments with variant feature flags](./run-experiments-aspnet-core.md)
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/feature-management-python-reference.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ The feature management library supports json as a feature flag source. Below we
94
94
}
95
95
```
96
96
97
-
The `feature_management` section of the json document is used by convention to load feature flag settings. The `feature_flags` section is a list of the feature flags that are loaded into the library. In the section above, we see three different features. Features define their feature filters using the `client_filters` property, inside of `conditions`. In the feature filters for `FeatureT`, we see `enabled` is on with no filters defined, resulting in `FeatureT` always returning `true` . `FeatureU` is the same as `FeatureT` but with `enabled` is `false` resulting in the feature always returning `false`. `FeatureV` specifies a feature filter named `Microsoft.TimeWindow`. `FeatureV` is an example of a configurable feature filter. We can see in the example that the filter has a `parameters` property. The `parameters` property is used to configure the filter. In this case, the start and end times for the feature to be active are configured.
97
+
The `feature_management` section of the json document is used by convention to load feature flag settings. The `feature_flags` section is a list of the feature flags that are loaded into the library. In the section above, we see three different features. Features define their feature filters using the `client_filters` property, inside of `conditions`. In the feature filters for `FeatureT`, we see `enabled` is `true` with no filters defined, resulting in `FeatureT` always returning `true` . `FeatureU` is the same as `FeatureT` but with `enabled` is `false` resulting in the feature always returning `false`. `FeatureV` specifies a feature filter named `Microsoft.TimeWindow`. `FeatureV` is an example of a configurable feature filter. We can see in the example that the filter has a `parameters` property. The `parameters` property is used to configure the filter. In this case, the start and end times for the feature to be active are configured.
98
98
99
99
The detailed schema of the `feature_management` section can be found [here](https://github.com/microsoft/FeatureManagement/blob/main/Schema/FeatureManagement.v2.0.0.schema.json).
100
100
@@ -626,4 +626,4 @@ To learn how to use feature filters, continue to the following tutorials.
626
626
To learn how to run experiments with variant feature flags, continue to the following tutorial.
627
627
628
628
> [!div class="nextstepaction"]
629
-
> [Run experiments with variant feature flags](./run-experiments-aspnet-core.md)
629
+
> [Run experiments with variant feature flags](./howto-feature-filters.md)
0 commit comments