nacos-sdk-csharp 1.3.4-alpha20220703021644
nacos-sdk-csharp
nacos-sdk-csharp provides basic nacos operation.
// config
builder.Services.AddNacosV2Config(x =>
{
x.ServerAddresses = new List<string> { "http://localhost:8848/" };
x.Namespace = "cs";
x.UserName = "nacos";
x.Password = "nacos";
});
// naming
builder.Services.AddNacosV2Naming(x =>
{
x.ServerAddresses = new List<string> { "http://localhost:8848/" };
x.Namespace = "cs";
x.UserName = "nacos";
x.Password = "nacos";
});
// or
builder.Services.AddNacosV2Config(builder.Configuration);
builder.Services.AddNacosV2Naming(builder.Configuration);
private readonly INacosConfigService _config;
private readonly INacosNamingService _naming;
public TheCtor(INacosConfigService config, INacosNamingService naming)
{
_config = config;
_naming = naming;
}
Links
Showing the top 20 packages that depend on nacos-sdk-csharp.
Packages | Downloads |
---|---|
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
12 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
13 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
14 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
42 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
43 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
44 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
391 |
nacos-sdk-csharp.Extensions.Configuration
nacos csharp sdk
|
12 |
nacos-sdk-csharp.Extensions.Configuration
nacos csharp sdk
|
13 |
nacos-sdk-csharp.Extensions.Configuration
nacos csharp sdk
|
39 |
nacos-sdk-csharp.IniParser
nacos csharp sdk
|
12 |
nacos-sdk-csharp.IniParser
nacos csharp sdk
|
45 |
nacos-sdk-csharp.YamlParser
nacos csharp sdk
|
13 |
nacos-sdk-csharp.YamlParser
nacos csharp sdk
|
14 |
nacos-sdk-csharp.YamlParser
nacos csharp sdk
|
17 |
nacos-sdk-csharp.YamlParser
nacos csharp sdk
|
54 |
.NET 5.0
- Google.Protobuf (>= 3.21.2)
- Newtonsoft.Json (>= 13.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 5.0.0)
- Microsoft.Extensions.Http (>= 5.0.0)
- Microsoft.Extensions.DependencyModel (>= 5.0.0)
- Grpc.Core (>= 2.46.3)
.NET Standard 2.0
- Newtonsoft.Json (>= 13.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 3.1.0)
- Microsoft.Extensions.Http (>= 3.1.0)
- Microsoft.Extensions.DependencyModel (>= 3.1.0)
- Grpc.Core (>= 2.46.3)
- Google.Protobuf (>= 3.21.2)
.NET 6.0
- Newtonsoft.Json (>= 13.0.1)
- Microsoft.Extensions.Http (>= 6.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 6.0.0)
- Grpc.Core (>= 2.46.3)
- Google.Protobuf (>= 3.21.2)
- Microsoft.Extensions.DependencyModel (>= 6.0.0)