Skip to content

Conversation

@avanigupta
Copy link
Member

Adding some samples to help users set up the right AFD filters according to their application code.

@avanigupta avanigupta requested a review from jimmyca15 December 19, 2025 18:57
- [Application loads key-values with tag filters](#application-loads-key-values-with-tag-filters)


### Application uses key-values only
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should start with

builder.Configuration.AddAzureAppConfiguration(options =>
{
    options.ConnectAzureFrontDoor(new Uri("{YOUR-AFD-ENDPOINT}"))
            .ConfigureRefresh(refreshOptions =>
            {
                refreshOptions.RegisterAll()
                    .SetRefreshInterval(TimeSpan.FromMinutes(1));
            });
});

Then the next sample can discuss if a Select call is used.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, with feature flags, I think we should start just with UseFeatureFlags being called, then the following sample could discuss what to do if a feature flag selector is used.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants