Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.72 KB

File metadata and controls

28 lines (24 loc) · 1.72 KB

FeatureSwitcher.AwsConfiguration

Configuration plugin for FeatureSwitcher based on AWS services. Feature configuration is stored in DynamoDB and made available through the API Gateway. Having the configuration allows you to switch/toggle features at runtime that will then be apllied to your application instances.

This project consists of:

  • A .Net client library available through NuGet
  • A highly available and fault tolerant backend based on AWS services. There is no code to deploy!

Setting up the AWS backend NuGet

Usage

// Synchronous configuration
var config = AwsConfig.Configure("https://id.execute-api.eu-west-1.amazonaws.com/test");
Features.Are.ConfiguredBy.Custom(config.IsEnabled);
// Asynchronous configuration
var configTask = AwsConfig.ConfigureAsync("https://id.execute-api.eu-west-1.amazonaws.com/test");
//Do other stuff
var config = await configTask;
Features.Are.ConfiguredBy.Custom(config.IsEnabled);

Architecture

Diagram