Skip to main content
Published
Sep 20, 2024
2y ago
Total Downloads
830.7K
830,711

Install

dotnet add package nacos-sdk-csharp.AspNetCore --version 1.3.9-alpha20240920152555
ProductVersions
.NET
net6.0net8.0

README

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

Changes from Previous Version

v1.3.8v1.3.9-alpha20240920152555
Added Frameworks
net8.0
Removed Frameworks
.NETCoreApp3.1net5.0

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.