net5.0net6.0.NETStandard2.0
nacos csharp sdk
Published
May 30, 2022
4y ago
Total Downloads
832.5K
832,539
Install
dotnet add package nacos-sdk-csharp.Extensions.Configuration --version 1.3.3-alpha20220530150204
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
nacos-sdk-csharp.Extensions.Configuration
nacos-sdk-csharp.Extensions.Configuration provides integration with ASP.NET Core Configuration System.
builder.Host.UseNacosConfig(section: "NacosConfig");
// or
builder.Host.ConfigureAppConfiguration((c, b) =>
{
var config = b.Build();
// read configuration from config files
// default is json
// b.AddNacosV2Configuration(config.GetSection("NacosConfig"));
b.AddNacosV2Configuration(config.GetSection("NacosConfig"));
// specify ini or yaml
b.AddNacosV2Configuration(config.GetSection("NacosConfig"), parser: Nacos.IniParser.IniConfigurationStringParser.Instance);
b.AddNacosV2Configuration(config.GetSection("NacosConfig"), parser: Nacos.YamlParser.YamlConfigurationStringParser.Instance);
});
Links
Changes from Previous Version
v1.3.3-alpha20220524112507v1.3.3-alpha20220530150204
Added Dependencies
Microsoft.Extensions.Hosting.Abstractions(.NETStandard2.0)
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.The published metadata declares 18 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.