Azure-docs: Filters?

Created on 23 May 2019  Â·  7Comments  Â·  Source: MicrosoftDocs/azure-docs

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?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author azure-app-configuratiosvc doc-enhancement triaged

All 7 comments

@13daysaweek Thank you for the feedback! We are investigating this and will get back to you shortly.

@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:

  • how can filters be combined? Is there an OR, or an AND logic to them? (if two IFeatureFilter return a different value for the same Feature, what value will be used by Asp.Net Core?)
  • Can we use them to make Features available from different sources (Cookie, Azure App Configuration manager)?
  • IFeatureFilters and MVC filters are different things I believe.

    • How are they related?

    • How should they be implemented?

    • What filters are available out of the box?

  • I see that they are added in different ways and places:
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?

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!

please-close

Was this page helpful?
0 / 5 - 0 ratings