.NET Strongly-typed Application Configuration with 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
Yes, but this wheel is cooler.
Please see Contributing for information about how you can contribute to the project.
Please see LICENSE for license details.