nacos-sdk-csharp.YamlParser 1.3.7-alpha20240711021022
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 5.0
- nacos-sdk-csharp (>= 1.3.7-alpha20240711021022)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- YamlDotNet (>= 11.2.1)
.NET 6.0
- nacos-sdk-csharp (>= 1.3.7-alpha20240711021022)
- Microsoft.Extensions.Configuration (>= 6.0.0)
- YamlDotNet (>= 11.2.1)
.NET Standard 2.0
- nacos-sdk-csharp (>= 1.3.7-alpha20240711021022)
- Microsoft.Extensions.Configuration (>= 3.1.0)
- YamlDotNet (>= 11.2.1)