Skip to content

cagedtornado/centralconfig-net

Repository files navigation

centralconfig-net Build status

.NET centralconfig client

Quick Start

Install the NuGet package from the package manager console:

Install-Package CentralConfigClient

In your application:

//  Connect to the service
var config = new CentralConfigManager("http://centralconfig-service:3000", "YourAppName");

//  Call 'get' to get your configs:
var stringVal = config.Get<string>("SomeApplicationSetting");

//  You can even set a default value to indicate
//  what should be returned if your config item 
//  can't be found
var retval = config.Get<int>("SomethingNotThere", 42);

About

.NET centralconfig client 🔌

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages