/FlipSwitch

An Enhanced FeatureToggle and possibly more

Primary LanguageC#Apache License 2.0Apache-2.0

FlipSwitch

An Enhanced FeatureToggle and possibly more.

The entire idea is to have a rich configuration system that is able to be changed without restarting the application. Configurations are able to be managed via a centralized admin application. All values can/should be cached on the client application and signaled when changed.

⚠️ Disclaimer ⚠️

This is still in POC phase. Please bear with me! This contracts can and most certainly will change!

Client Usage

Register IConfigurator using the provided Extensions

builder.Services.AddConfigurator(opt => opt
    .WithNoCache()
    .WithHttpBackend("http://localhost:5247"));

Inject the IConfigurator into the class

public class MyClass(IConfigurator configurator)

Get the value

var enabled = await configurator.IsFeatureEnabled("Teste");