nacos-sdk-csharp 1.3.10-alpha20241103154428
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 6.0
- Google.Protobuf (>= 3.27.2)
- System.Text.Json (>= 8.0.5)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 6.0.0)
- Microsoft.Extensions.Http (>= 6.0.0)
- Microsoft.Extensions.DependencyModel (>= 6.0.0)
- Grpc.Net.Client (>= 2.65.0)
.NET Standard 2.0
- System.Text.Json (>= 8.0.5)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 3.1.0)
- Microsoft.Extensions.Http (>= 3.1.0)
- Microsoft.Extensions.DependencyModel (>= 3.1.0)
- Grpc.Net.Client (>= 2.65.0)
- Google.Protobuf (>= 3.27.2)
.NET 8.0
- System.Text.Json (>= 8.0.5)
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Grpc.Net.Client (>= 2.65.0)
- Google.Protobuf (>= 3.27.2)
- Microsoft.Extensions.DependencyModel (>= 8.0.0)