nacos-sdk-csharp
1.3.4
.NET 5.0
.NET Standard 2.0
dotnet add package nacos-sdk-csharp --version 1.3.4
NuGet\Install-Package nacos-sdk-csharp -Version 1.3.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="nacos-sdk-csharp" Version="1.3.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nacos-sdk-csharp --version 1.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: nacos-sdk-csharp, 1.3.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install nacos-sdk-csharp as a Cake Addin
#addin nuget:?package=nacos-sdk-csharp&version=1.3.4
// Install nacos-sdk-csharp as a Cake Tool
#tool nuget:?package=nacos-sdk-csharp&version=1.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Google.Protobuf (>= 3.21.2)
- Grpc.Core (>= 2.46.3)
- Microsoft.Extensions.DependencyModel (>= 3.1.0)
- Microsoft.Extensions.Http (>= 3.1.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 3.1.0)
- Newtonsoft.Json (>= 13.0.1)
-
net5.0
- Google.Protobuf (>= 3.21.2)
- Grpc.Core (>= 2.46.3)
- Microsoft.Extensions.DependencyModel (>= 5.0.0)
- Microsoft.Extensions.Http (>= 5.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 5.0.0)
- Newtonsoft.Json (>= 13.0.1)
-
net6.0
- Google.Protobuf (>= 3.21.2)
- Grpc.Core (>= 2.46.3)
- Microsoft.Extensions.DependencyModel (>= 6.0.0)
- Microsoft.Extensions.Http (>= 6.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (32)
Showing the top 5 NuGet packages that depend on nacos-sdk-csharp:
Package | Downloads |
---|---|
nacos-sdk-csharp.Extensions.Configuration
nacos csharp sdk |
|
nacos-sdk-csharp.AspNetCore
nacos csharp sdk |
|
nacos-sdk-csharp.YamlParser
nacos csharp sdk |
|
NF.Core.Configuration
组件配置管理 .net6.0测试 |
|
nacos-sdk-csharp.IniParser
nacos csharp sdk |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on nacos-sdk-csharp:
Repository | Stars |
---|---|
anjoy8/Blog.Core
💖 ASP.NET Core 6.0/7.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
|
|
liuhll/silky
The Silky framework is designed to help developers quickly build a microservice development framework through simple code and configuration under the .net platform.
|
|
guoming/Hummingbird
分布式锁,分布式ID,分布式消息队列、配置中心、注册中心、服务注册发现、超时、重试、熔断、负载均衡
|
|
luoyunchong/dotnetcore-examples
about learning DotNetCore via examples. DotNetCore 教程、技术栈示例代码,快速简单上手教程。
|