Questions tagged [azure-feature-manager]
16 questions
4
votes
1 answer
Azure App Configuration - Conditionally create feature flag using bicep
I plan to use the Feature Management functionality within Azure App Configuration service.
Using bicep I create the configuration store.
Template:…

DeMaki
- 371
- 4
- 15
4
votes
1 answer
Azure Feature Management on startup
I'm wanting to use Azure feature management to drive whether services are added to dependencies during startup .ConfigureServices(hostcontext, services =>
The only way I can find to do this is to call .BuildServiceProvider to get the…

Ryan Langton
- 6,294
- 15
- 53
- 103
3
votes
1 answer
Azure App Configuration Feature Flag with Label is not retrieved by Microsoft.FeatureManagement.FeatureManager
I started using Azure App Configuration service and Feature Flags functionality in my project. The thing that I saw is whenever I define a new feature flag and set some value for the label field then it's not retrieved by the…

GoldenAge
- 2,918
- 5
- 25
- 63
3
votes
0 answers
IFeatureManager.IsEnabledAsync() always returns the same (cached) value
The IsEnabledAsync() method on Microsoft.FeatureManagement.IFeatureManager will always return the same cached value. For example, I can put the following code inside of an ASP.NET Core IHostedService in a repeated timer, every time IsEnabledAsync is…

Ryan Langton
- 6,294
- 15
- 53
- 103
2
votes
1 answer
How to Mock FeatureFilterEvaluationContext Parameters?
I created a custom feature filter and in EvaluateAsync I get the feature flag's custom settings from Azure's Feature manager for this specific feature flag's filter.
public virtual Task EvaluateAsync(FeatureFilterEvaluationContext…

ScubaSteve
- 7,724
- 8
- 52
- 65
1
vote
2 answers
Is IFeatureManager cache not refreshed for the first call after cache has expired?
In ASP.NET Core 6 minimal API, I've been working with Azure App Configuration feature flags.
I have set up the feature flag configuration so that the flags expire in 5 seconds.
builder.Configuration.AddAzureAppConfiguration(
options =>…

Page Edmond
- 11
- 2
1
vote
1 answer
IFeatureManager Unit Testing
I have a Feature Flag in the Azure portal, used from some controllers in a .NET Core Web App.
At runtime, it works correctly switching on and off the FF on the real portal.
I should write 2 Unit tests, simulating when the Feature Flag is On and when…

Roberto Alessi
- 132
- 2
- 13
1
vote
0 answers
Does Azure App Configuration even for Kubernetes managed ASP .NET Core apps?
I'm reading this article: https://learn.microsoft.com/en-us/azure/azure-app-configuration/use-feature-flags-dotnet-core?tabs=core5x
I cannot find information if this approach is also valid if my application is hosted on pods via Kubernetes not by…

Yoda
- 17,363
- 67
- 204
- 344
0
votes
0 answers
Using Azure Feature Disabled controller won't turn on after change to true
I'm trying to use the Azure Feature flag feature to enable or disable an entire controller with
[FeatureGate("feature-key"]
If I set this to true in Azure Portal and it works the call to the API endpoint returns 200.
If switch on the Azure portal to…

advapi
- 3,661
- 4
- 38
- 73
0
votes
0 answers
Combine CustomFilter and Microsoft Time Window filter feature manager
I am using Azure Feature Manager and as part of CustomFilter we would like to use Microsoft.TimeWindow as well so here is my json will look-
So how should I write my custom filter so both the conditions get executed. My custom logic is executed…

Punit
- 1,347
- 3
- 20
- 39
0
votes
1 answer
Can we disable azure function using feature flag
I am looking to disable and enable a azure function using feature flags. Any idea?

Sap_vr
- 2,379
- 2
- 17
- 17
0
votes
1 answer
Azure Feature Manager UseFeatureFlags filter by label not working as expected .net Core
I am trying to setup Azure Feature Manager in my .net core api project. I have two flags setup in azure. One with 'Development' label and one without a label.
I am trying to retrieve only the feature flags with development label. But it returns me…

imanshu15
- 734
- 3
- 21
0
votes
1 answer
Mock connection to Azure App Configuration service using Moq
I would like to mock connection to Azure App Configuration (feature flag) service using DefaultAzureCredential and Moq framework.
I wrote extension based on Microsoft…

Łukasz Krupa
- 11
- 3
0
votes
1 answer
How to get Azure App Configuration feature flag value list in bicep template
I would like to get list of already created feature flags from Azure App Configuration in bicep template. I want to pass it to separate bicep file that will use union function on existing and new feature flags to not override already existing…

Łukasz Krupa
- 11
- 3
0
votes
1 answer
How to get the value of Azure App Configuration Feature Flag with specific label from Spring boot?
I started using Azure App Configuration service and Feature Flags functionality in my project. I followed this documentation and was able to create a Spring boot project. I also created a FeatureFlagService class and autowired the FeatureManager…

pranay jain
- 352
- 1
- 2
- 15