nacos-sdk-csharp
1.3.7-alpha20240711021022
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
This is a prerelease version of nacos-sdk-csharp.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package nacos-sdk-csharp --version 1.3.7-alpha20240711021022
NuGet\Install-Package nacos-sdk-csharp -Version 1.3.7-alpha20240711021022
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.7-alpha20240711021022" />
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.7-alpha20240711021022
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: nacos-sdk-csharp, 1.3.7-alpha20240711021022"
#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.7-alpha20240711021022&prerelease // Install nacos-sdk-csharp as a Cake Tool #tool nuget:?package=nacos-sdk-csharp&version=1.3.7-alpha20240711021022&prerelease
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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
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 (49)
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 |
|
nacos-sdk-csharp.IniParser
nacos csharp sdk |
|
PiratesCore
湖南医标通信息科技有限公司 |
GitHub repositories (5)
Showing the top 5 popular GitHub repositories that depend on nacos-sdk-csharp:
Repository | Stars |
---|---|
anjoy8/Blog.Core
💖 ASP.NET Core 8.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
|
|
dotnetcore/Natasha
基于 Roslyn 的 C# 动态程序集构建库,该库允许开发者在运行时使用 C# 代码构建域 / 程序集 / 类 / 结构体 / 枚举 / 接口 / 方法等,使得程序在运行的时候可以增加新的模块及功能。Natasha 集成了域管理/插件管理,可以实现域隔离,域卸载,热拔插等功能。 该库遵循完整的编译流程,提供完整的错误提示, 可自动添加引用,完善的数据结构构建模板让开发者只专注于程序集脚本的编写,兼容 stanadard2.0 / netcoreapp3.0+, 跨平台,统一、简便的链式 API。 且我们会尽快修复您的问题及回复您的 issue.
|
|
guoming/Hummingbird
分布式锁,分布式ID,分布式消息队列、配置中心、注册中心、服务注册发现、超时、重试、熔断、负载均衡
|
|
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.
|
|
luoyunchong/dotnetcore-examples
about learning DotNetCore via examples. DotNetCore 教程、技术栈示例代码,快速简单上手教程。
|