Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.
/ yamlconfig Public archive

Simple .NET Strongly-typed Application Configuration with YAML

License

Notifications You must be signed in to change notification settings

thebentern/yamlconfig

Repository files navigation

yamlconfig

.NET Strongly-typed Application Configuration with YAML

Build status NuGet Coverage Status Join the chat at https://gitter.im/thebentern/yamlconfig

Why YAML?

YAML is an easy to learn human-readable language, used frequently in communities outside of .NET, particularly the Ruby community. To illustrate the difference between traditional XML based config and YAML config, lets take a look at the simple AppSettings example:

<!-- Traditional .NET app configuration with app settings -->
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <appsettings> 
        <add key="AppName" value="My App Name" />
        <add key="DatabaseInstance" value="locahost" />
    </appsettings>
</configuration>

And here is how we could represent it in Yaml.

# New hotness Yaml configuration
configuration:
  appSettings:
    AppName: My App Name
    DatabaseInstance: localhost

Aren't you re-inventing the wheel though?

Yes, but this wheel is cooler.

Contributing

Please see Contributing for information about how you can contribute to the project.

License

Please see LICENSE for license details.

About

Simple .NET Strongly-typed Application Configuration with YAML

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published