Git Product home page Git Product logo

appconfi-csharp's Introduction

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

appconfi-csharp's People

Contributors

adborroto avatar appconfiadmin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.