Clone wiki

ConfigurationHg / Home

Configuration

A simple configuration library for .NET

What is it?

A configurable layer of abstraction over the default .NET configuration system.
Remember, all problems in computer science can be solved by another level of indirection - David Wheeler

Why should I use it?

It makes it easy to:

  • use dependency injection for configuration settings; and/or
  • divorce the configuration from the application itself.

Where do I get it?

The library is available as a NuGet package.
For further installation instructions and options check out How to Install.

How do I use it?

If you have an existing solution that uses the default .NET configuration system you can use Legacy Mode.
If you are writing a new solution or intend to upgrade an existing solution to use dependency injection then you can use Standard Mode.

Updated