Wenli.Config.ApolloClient
1.0.0.11
See the version list below for details.
dotnet add package Wenli.Config.ApolloClient --version 1.0.0.11
NuGet\Install-Package Wenli.Config.ApolloClient -Version 1.0.0.11
<PackageReference Include="Wenli.Config.ApolloClient" Version="1.0.0.11" />
paket add Wenli.Config.ApolloClient --version 1.0.0.11
#r "nuget: Wenli.Config.ApolloClient, 1.0.0.11"
// Install Wenli.Config.ApolloClient as a Cake Addin #addin nuget:?package=Wenli.Config.ApolloClient&version=1.0.0.11 // Install Wenli.Config.ApolloClient as a Cake Tool #tool nuget:?package=Wenli.Config.ApolloClient&version=1.0.0.11
一、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的使用测试简例
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
-
.NETStandard 2.0
- System.Reflection.Emit.ILGeneration (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Security.Permissions (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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的使用测试简例