Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

appconfi/appconfi-csharp

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appconfi

[Appconfi] - Service to centrally manage application settings and feature toggles for applications and services.

Installation

The Appconfi .NET SDK is available as a Nuget package, to install run the following command in the Package Manager Console

Install-Package Appconfi

More info is available on nuget

Usage

In order to use the Appconfi you will need to deploy an appconfi server and /account/register.

From there you can create your first application and setup your configuration. To use the Appconfi API to access your configuration go to /accesskeys there you can find the application_id and your application_key.

How to use

var manager = Configuration.NewInstance(applicationId, apiKey);

//Start monitoring changes in your application settings and features toggles.
manager.StartMonitor();

var setting = manager.GetSetting("my_good_setting");

var isFeatureEnabled = manager.IsFeatureEnabled("my_awesome_feature");

Optional parameters

Change your environments:

var env = "PRODUCTION";
var refreshInterval =  TimeSpan.FromMinutes(1);
var manager = Configuration.NewInstance(applicationId, apiKey, env, refreshInterval);

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.