/config-r

Write your .NET configuration files in C#

Primary LanguageC#MIT LicenseMIT

ConfigR

Write your .NET configuration files in C# 😎.

Fed up with XML soup? Frustrated that app settings can only be strings? Want to do more in your configuration file than just define app settings? Then ConfigR is for you!

Get it at NuGet.

Powered by Roslyn.

Features

Checkout the quickstart to get an idea of the basics.

ConfigR does plenty more! Features include the ability to specify the path of your configuration file(s), multiple cascading configuration files and custom configurators. Checkout the samples for more info.

TIP: you can write any C# you like in your 'configuration file' 😉. The Roslyn #load and #r features are both supported for loading scripts and referencing assemblies.

Updates

Releases will be pushed regularly to NuGet. For update notifications, follow @adamralph.

To build manually, clone or fork this repository and see 'How to build'.

Can I help to improve it and/or fix bugs?

Absolutely! Please feel free to raise issues, fork the source code, send pull requests, etc.

No pull request is too small. Even whitespace fixes are appreciated. Before you contribute anything make sure you read CONTRIBUTING.md.

What do the version numbers mean?

ConfigR uses Semantic Versioning.

Sponsors

Our build server is kindly provided by CodeBetter and JetBrains.

YouTrack and TeamCity