FeatureMasterX

FeatureMasterX Logo

Overview

FeatureMasterX is a powerful and easy-to-use extension for Microsoft’s FeatureManagement library. It simplifies feature toggling by allowing more intuitive configurations for users, accounts, and other contexts.

🔹 Key Features

ListCheckFeatureFilter

The first implementation, ListCheckFeatureFilter, allows you to group multiple features under ListCheck. It evaluates access based on the EnabledFor property:

Configuration Example

{
  "FeatureManagement": {
    "ListCheck": {
      "NewFeature": {
        "EnabledFor": [ "user1@example.com", "admin@example.com" ]
      },
      "AllFeature": {
        "EnabledFor": [ "ALL" ]
      }
    }
  }
}

Installation

Install-Package FeatureMasterX

Usage

Register in services


builder.AddFeatureMasterX();

var featureManager = services.BuildServiceProvider().GetRequiredService<IFeatureManager>();
if (await featureManager.IsEnabledAsync("NewFeature", "user10@example.com"))
{
    // Feature is enabled for the current user
}

License

This project is licensed under the MIT License.