nacos-sdk-csharp.AspNetCore
1.3.4
.NET 5.0
.NET Core 3.1
dotnet add package nacos-sdk-csharp.AspNetCore --version 1.3.4
NuGet\Install-Package nacos-sdk-csharp.AspNetCore -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.AspNetCore" 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.AspNetCore --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.AspNetCore, 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.AspNetCore as a Cake Addin
#addin nuget:?package=nacos-sdk-csharp.AspNetCore&version=1.3.4
// Install nacos-sdk-csharp.AspNetCore as a Cake Tool
#tool nuget:?package=nacos-sdk-csharp.AspNetCore&version=1.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nacos-sdk-csharp.AspNetCore
nacos-sdk-csharp.AspNetCore provides service registration and discovery With ASP.NET Core.
builder.Services.AddNacosAspNet(x =>
{
x.ServerAddresses = new List<string> { "http://localhost:8848/" };
x.Namespace = "cs";
x.ServiceName = "App2";
x.GroupName = "DEFAULT_GROUP";
x.ClusterName = "DEFAULT";
x.Ip = "";
x.PreferredNetworks = "";
x.Port = 0;
x.Weight = 100;
x.RegisterEnabled = true;
x.InstanceEnabled = true;
x.Ephemeral = true;
x.Secure = false;
});
// or
builder.Services.AddNacosAspNet(builder.Configuration);
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 | netcoreapp3.1 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Microsoft.Extensions.Hosting.Abstractions (>= 3.1.0)
- nacos-sdk-csharp (>= 1.3.4)
-
net5.0
- Microsoft.Extensions.Hosting.Abstractions (>= 5.0.0)
- nacos-sdk-csharp (>= 1.3.4)
-
net6.0
- Microsoft.Extensions.Hosting.Abstractions (>= 6.0.0)
- nacos-sdk-csharp (>= 1.3.4)
NuGet packages (27)
Showing the top 5 NuGet packages that depend on nacos-sdk-csharp.AspNetCore:
Package | Downloads |
---|---|
NF.Core.Configuration
组件配置管理 .net6.0测试 |
|
MyInfrastructures
封装了一些通用的基础类 |
|
BLT.Nacos
Package Description |
|
Mall3s.Nacos
Package Description |
|
Coder.Configuration
配置管理 |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on nacos-sdk-csharp.AspNetCore:
Repository | Stars |
---|---|
anjoy8/Blog.Core
💖 ASP.NET Core 6.0/7.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
|
|
guoming/Hummingbird
分布式锁,分布式ID,分布式消息队列、配置中心、注册中心、服务注册发现、超时、重试、熔断、负载均衡
|
|
luoyunchong/dotnetcore-examples
about learning DotNetCore via examples. DotNetCore 教程、技术栈示例代码,快速简单上手教程。
|