Can you use the FeatureGate decorator in Azure functions from Feature Management libary from Microsoft?

0

Currently I haven't had any success with the feature gate decorator outside of an API endpoint and while in my situation to use it on my Azure functions is rather redundant I was wondering if it was possible rather than sensible?

Using the manager/config dependency is great, but like simplicity of the decorator.

[FeatureGate(FeatureFlags.MyFeatureFlag)]
    [FunctionName("MyFunctionHandler")]
    [MyExponentialBackoffRetry()]
    public async Task RunAsync(
        [ServiceBusTrigger("myfunctions/functiondata", "myfunctiondemo", Connection = "SERVICE_BUS_CONNECTION_STRING")]
        requestModel request,
         MessageReceiver messageReceiver,
         string messageId,
         string lockToken,
         ILogger logger
        )
.net-core asp.net-core azure c#
2021-11-24 03:31:36
1

0

Can you use the FeatureGate decorator in Azure functions from Feature Management libary from Microsoft?

  • Currently there is no samples available for FeatureGate decorator to use with Azure function.
  • Instead of that we can use Feature flag with Azure function .

To get started please refer this MS DOC: Add feature flags to an Azure Functions app & Use feature flags in an ASP.NET Core app .

2021-11-30 05:59:08

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................