The documentation on this page mentions filters and it appears filters can be set in the Azure portal, however I haven't yet seen any documentation on how to use filters. Can this page be expanded to include documentation on filters, or a link to any existing documentation?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@13daysaweek Thank you for the feedback! We are investigating this and will get back to you shortly.
@13daysaweek, thanks for asking! Filter usage are documented in the following:
https://docs.microsoft.com/en-us/azure/azure-app-configuration/use-feature-flags-dotnet-core#mvc-filters
https://docs.microsoft.com/en-us/dotnet/api/microsoft.featuremanagement?view=azure-dotnet-preview
@yegu-ms @kobulloc-MSFT can you please reopen this issue and look at how the documentation can be improved?
The following points are not clear and are not discussed in the documentation:
IFeatureFilter return a different value for the same Feature, what value will be used by Asp.Net Core?)IFeatureFilters and MVC filters are different things I believe.services.AddMvc(options => {
options.Filters.AddForFeature<SomeMvcFilter>(nameof(MyFeatureFlags.FeatureA));
});
public void ConfigureServices(IServiceCollection services)
{
services.AddFeatureManagement()
.AddFeatureFilter<PercentageFilter>();
}
Could you please reopen this and clarify?
https://andrewlock.net/introducing-the-microsoft-featuremanagement-library-adding-feature-flags-to-an-asp-net-core-app-part-1/ seems to be a good blog about this
There is updated documentation in
Also, some issues in those repos document some behavior, limitations and explanations.
It would be good if at least there was a link to those repos, and it would be better if the content of that would be available as updated tutorials/ articles on Microsoft Docs :)
Agreed. In particular, some explanation on Microsoft Docs for how to do user group segmentation with feature flags would be helpful, because as of right now the only info provided for filters is focused on the built-in percentage and timeframe filters.
We have added stories to our backlog to capture this work -- thanks very much for your feedback!