nacos-sdk-csharp.Extensions.Configuration
1.3.8
.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.
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.Extensions.Configuration --version 1.3.8
NuGet\Install-Package nacos-sdk-csharp.Extensions.Configuration -Version 1.3.8
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.Extensions.Configuration" Version="1.3.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nacos-sdk-csharp.Extensions.Configuration --version 1.3.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: nacos-sdk-csharp.Extensions.Configuration, 1.3.8"
#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.Extensions.Configuration as a Cake Addin #addin nuget:?package=nacos-sdk-csharp.Extensions.Configuration&version=1.3.8 // Install nacos-sdk-csharp.Extensions.Configuration as a Cake Tool #tool nuget:?package=nacos-sdk-csharp.Extensions.Configuration&version=1.3.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nacos-sdk-csharp.Extensions.Configuration
nacos-sdk-csharp.Extensions.Configuration provides integration with ASP.NET Core Configuration System.
builder.Host.UseNacosConfig(section: "NacosConfig");
// or
builder.Host.ConfigureAppConfiguration((c, b) =>
{
var config = b.Build();
// read configuration from config files
// default is json
// b.AddNacosV2Configuration(config.GetSection("NacosConfig"));
b.AddNacosV2Configuration(config.GetSection("NacosConfig"));
// specify ini or yaml
b.AddNacosV2Configuration(config.GetSection("NacosConfig"), parser: Nacos.IniParser.IniConfigurationStringParser.Instance);
b.AddNacosV2Configuration(config.GetSection("NacosConfig"), parser: Nacos.YamlParser.YamlConfigurationStringParser.Instance);
});
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
- Microsoft.Extensions.Configuration (>= 3.1.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 3.1.0)
- Microsoft.Extensions.Logging.Console (>= 3.1.0)
- Microsoft.Extensions.Options (>= 3.1.0)
- nacos-sdk-csharp (>= 1.3.8)
- Newtonsoft.Json (>= 13.0.1)
-
net5.0
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Logging.Console (>= 5.0.0)
- Microsoft.Extensions.Options (>= 5.0.0)
- nacos-sdk-csharp (>= 1.3.8)
- Newtonsoft.Json (>= 13.0.1)
-
net6.0
- Microsoft.Extensions.Configuration (>= 6.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Console (>= 6.0.0)
- Microsoft.Extensions.Options (>= 6.0.0)
- nacos-sdk-csharp (>= 1.3.8)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (42)
Showing the top 5 NuGet packages that depend on nacos-sdk-csharp.Extensions.Configuration:
Package | Downloads |
---|---|
NF.Core.Configuration
组件配置管理,net5.0使用3以下的版本 |
|
BLT.Nacos
Package Description |
|
Coder.Configuration
配置管理 |
|
Mall3s.Nacos
Package Description |
|
Coder.MicroCore
Consul,Nacos,Ocelot |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on nacos-sdk-csharp.Extensions.Configuration:
Repository | Stars |
---|---|
dotnetcore/Natasha
基于 Roslyn 的 C# 动态程序集构建库,该库允许开发者在运行时使用 C# 代码构建域 / 程序集 / 类 / 结构体 / 枚举 / 接口 / 方法等,使得程序在运行的时候可以增加新的模块及功能。Natasha 集成了域管理/插件管理,可以实现域隔离,域卸载,热拔插等功能。 该库遵循完整的编译流程,提供完整的错误提示, 可自动添加引用,完善的数据结构构建模板让开发者只专注于程序集脚本的编写,兼容 stanadard2.0 / netcoreapp3.0+, 跨平台,统一、简便的链式 API。 且我们会尽快修复您的问题及回复您的 issue.
|
|
guoming/Hummingbird
分布式锁,分布式ID,分布式消息队列、配置中心、注册中心、服务注册发现、超时、重试、熔断、负载均衡
|
|
yuzd/Autofac.Annotation
DI容器,依赖注入,AOP,动态代理等用注解来load autofac 摆脱代码或者xml配置和java的spring的注解注入一样的体验
|
|
luoyunchong/dotnetcore-examples
about learning DotNetCore via examples. DotNetCore 教程、技术栈示例代码,快速简单上手教程。
|