nacos-sdk-csharp 1.3.5
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
|
7 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
9 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
20 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
39 |
nacos-sdk-csharp.AspNetCore
nacos csharp sdk
|
377 |
nacos-sdk-csharp.Extensions.Configuration
nacos csharp sdk
|
6 |
nacos-sdk-csharp.Extensions.Configuration
nacos csharp sdk
|
7 |
nacos-sdk-csharp.Extensions.Configuration
nacos csharp sdk
|
10 |
nacos-sdk-csharp.Extensions.Configuration
nacos csharp sdk
|
34 |
nacos-sdk-csharp.IniParser
nacos csharp sdk
|
39 |
nacos-sdk-csharp.YamlParser
nacos csharp sdk
|
6 |
nacos-sdk-csharp.YamlParser
nacos csharp sdk
|
7 |
nacos-sdk-csharp.YamlParser
nacos csharp sdk
|
9 |
nacos-sdk-csharp.YamlParser
nacos csharp sdk
|
12 |
nacos-sdk-csharp.YamlParser
nacos csharp sdk
|
48 |
.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)