Wenli.Config.ApolloClient 1.0.1.3

.NET Standard 2.0
NuGet\Install-Package Wenli.Config.ApolloClient -Version 1.0.1.3
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.
dotnet add package Wenli.Config.ApolloClient --version 1.0.1.3
<PackageReference Include="Wenli.Config.ApolloClient" Version="1.0.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wenli.Config.ApolloClient --version 1.0.1.3
#r "nuget: Wenli.Config.ApolloClient, 1.0.1.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Wenli.Config.ApolloClient as a Cake Addin
#addin nuget:?package=Wenli.Config.ApolloClient&version=1.0.1.3

// Install Wenli.Config.ApolloClient as a Cake Tool
#tool nuget:?package=Wenli.Config.ApolloClient&version=1.0.1.3

Wenli.Config.ApolloClient说明:

一、Wenli.Config.ApolloClient是根据了解官方驱动流程后,结合项目实际情况重构的apollo配置中心客户端,主要解决以下几个问题: 1.无需在c盘配置目录 2.可以连接多个apollo服务中心、每一个中心可以使用多个appid的配置 3.不再使用onchange事件来通知更新,而是增加实体类生成工具,用类的属性来实现自动更新,以方便于项目中使用 4.增加更加详细的配置,以适应不同项目环境的需求,比如长轮询时间、次数等 5.根据实际情况修改配置读取顺序为:优先使用appsetting中的配置、其次使用apolloclient本地配置,最后使用apolloservice的配置

二、ApolloServiceModelClassGenerater 是Wenli.Config.ApolloClient的代码生成工具

三、ApolloClient.Test以及ApolloWebTest为Wenli.Config.ApolloClient的使用测试简例

https://github.com/yswenli/Wenli.Config.ApolloClient

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
.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
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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1.3 189 4/2/2021
1.0.0.12 198 12/3/2020
1.0.0.11 210 12/3/2020
1.0.0 232 12/2/2020

Wenli.Config.ApolloClient说明:

一、Wenli.Config.ApolloClient是根据了解官方驱动流程后,结合项目实际情况重构的apollo配置中心客户端,主要解决以下几个问题:
1.无需在c盘配置目录
2.可以连接多个apollo服务中心、每一个中心可以使用多个appid的配置
3.不再使用onchange事件来通知更新,而是增加实体类生成工具,用类的属性来实现自动更新,以方便于项目中使用
4.增加更加详细的配置,以适应不同项目环境的需求,比如长轮询时间、次数等
5.根据实际情况修改配置读取顺序为:优先使用appsetting中的配置、其次使用apolloclient本地配置,最后使用apolloservice的配置

二、ApolloServiceModelClassGenerater 是Wenli.Config.ApolloClient的代码生成工具

三、ApolloClient.Test以及ApolloWebTest为Wenli.Config.ApolloClient的使用测试简例