Home > Back-end >  Read Feature flags from AppConfiguration in a Custom Nuget package
Read Feature flags from AppConfiguration in a Custom Nuget package

Time:05-20

I'm trying to read my feature flags stored in an AppConfiguration. My goal is to create my own NuGet package to reuse it later in several projects. this way I don't need to change the code.

It's all good when I read the settings from "Configuration Explorer" but I can't read the feature flags.

Appreciate any comment.

Thanks in advance

CodePudding user response:

You can read feature flags programmatically using App Configuration SDK. Here is some sample code:

https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/appconfiguration/Azure.Data.AppConfiguration/samples/Sample9_FeatureFlags.md

CodePudding user response:

enter image description here

At the moment is this my code. appreciate any help.

  • Related