nacos-sdk-csharp.YamlParser 1.3.10
nacos-sdk-csharp.YamlParser
nacos-sdk-csharp.YamlParser provides yaml/yml format config parser.
builder.Host.UseNacosConfig(section: "NacosConfig", parser: Nacos.YamlParser.YamlConfigurationStringParser.Instance);
// or
builder.Host.ConfigureAppConfiguration((c, b) =>
{
var config = b.Build();
b.AddNacosV2Configuration(config.GetSection("NacosConfig"), parser: Nacos.YamlParser.YamlConfigurationStringParser.Instance);
});
Links
No packages depend on nacos-sdk-csharp.YamlParser.
.NET 6.0
- nacos-sdk-csharp (>= 1.3.10)
- Microsoft.Extensions.Configuration (>= 6.0.0)
- YamlDotNet (>= 11.2.1)
.NET 8.0
- nacos-sdk-csharp (>= 1.3.10)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- YamlDotNet (>= 11.2.1)
.NET Standard 2.0
- nacos-sdk-csharp (>= 1.3.10)
- Microsoft.Extensions.Configuration (>= 3.1.0)
- YamlDotNet (>= 11.2.1)