我正在查看Microsoft的官方文档,它指出FeatureGate 属性可用于控制是否启用整个控制器类或特定操作。我已经安装了 Microsoft.Azure.AppConfiguration.AspNetCore 4.2.1 甚至 4.3.0-preview 但我找不到它:
using Microsoft.FeatureManagement.Mvc;//doesn't recognize .Mvc it recognizes up to Microsoft.FeatureManagement
[FeatureGate(MyFeatureFlags.FeatureA)]//doesn't recognize FeatureGate either