Skip to content

About

An Enhanced FeatureToggle and possibly more

Resources

Stars

5 stars

Watchers

1 watching

Forks

Repository files navigation

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");

About

An Enhanced FeatureToggle and possibly more

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages