Skip to content

Configucius is a simple netstandard20 based configuration reader.

Notifications You must be signed in to change notification settings

GokGokalp/Configucius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configucius

Configucius is a simple netstandard20 based configuration reader.

NuGet version

NuGet Packages

dotnet add package Configucius

Features

  • It allows you to separate your configurations based on your domain & environment.
  • Built-in MSSQL provider. (You can extend it)
  • It provides scheduled configuration update.

Usages


Simple usage of Configucius. First, you need to add some parameters in your app.config file as follows:

  • "Configucius_ConnectionString" for MSSQL provider.
  • "Configucius_Domain" parameter is important to separate your configurations based on your domain.
  • "Configucius_Environment" parameter is important to separate your configurations based on your environments.
IConfigucius Configucius = new ConfiguciusClient(configRepository: new SqlConfigRepository(), refreshTime: TimeSpan.FromMinutes(2));

string key = "Hello!";
string value = Configucius.GetValue<string>(key);

About

Configucius is a simple netstandard20 based configuration reader.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages