YAML extension for ASP.NET Core Configuration
Nuget Package : https://www.nuget.org/packages/Nemi.Extensions.Configuration.Yaml
Install-Package Nemi.Extensions.Configuration.Yaml
.NET CLI
dotnet add package Nemi.Extensions.Configuration.Yaml
add AddYamlFile method in startup class
public Startup(IHostingEnvironment env)
{
var builder =new ConfigurationBuilder();
builder.SetBasePath(env.ContentRootPath);
builder.AddYamlFile("config.yaml",optional: false);
Configuration = builder.Build();
}