Kododo.ConfigWay.FeatureManagement 2.1.0

dotnet add package Kododo.ConfigWay.FeatureManagement --version 2.1.0
                    
NuGet\Install-Package Kododo.ConfigWay.FeatureManagement -Version 2.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kododo.ConfigWay.FeatureManagement" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kododo.ConfigWay.FeatureManagement" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Kododo.ConfigWay.FeatureManagement" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kododo.ConfigWay.FeatureManagement --version 2.1.0
                    
#r "nuget: Kododo.ConfigWay.FeatureManagement, 2.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Kododo.ConfigWay.FeatureManagement@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kododo.ConfigWay.FeatureManagement&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Kododo.ConfigWay.FeatureManagement&version=2.1.0
                    
Install as a Cake Tool

Kododo.ConfigWay.FeatureManagement

Feature flags for ConfigWay. Manage Microsoft.FeatureManagement flags from the ConfigWay web UI without redeploying: turn flags on and off, roll them out to a percentage of users, limit them to a time window or target users and groups.

Your code does not change: it keeps using IFeatureManager, [FeatureGate] and the other feature management APIs.

Install

dotnet add package Kododo.ConfigWay.FeatureManagement

Setup

builder.AddConfigWay(x =>
{
    x.UsePostgreSql(connectionString);
    x.AddUiEditor();
    x.AddFeatureFlags();
});

builder.Services.AddFeatureManagement();

app.UseConfigWay().RequireAuthorization("Admin");

Flags defined in your configuration (the feature_management section of appsettings, environment variables, ...) are listed in the editor. A flag saved in the editor is kept in the ConfigWay store and takes the place of the flag with the same id; resetting it brings the configured flag back. Flags can also be added in the editor only.

Filters

The editor has forms for the built-in filters: Microsoft.Percentage, Microsoft.TimeWindow and Microsoft.Targeting. Other filters are edited as JSON parameters; a filter your application has not registered is refused, because checking the flag would throw. Variants and other properties the editor does not edit yet are kept when a flag is saved.

To check a flag for a given user and groups, use the check in the editor: it asks your application's feature manager.

Several replicas

A save reaches the other replicas when they check the store for changes:

x.ReloadInterval = TimeSpan.FromSeconds(30);
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0 51 10/21/2026