Com.Ctrip.Framework.Apollo.ConfigurationManager
携程Apollo客户端 与Microsoft.Extensions.Configuration集成请使用Com.Ctrip.Framework.Apollo.Configuration包 与System.Configuration.ConfigurationManager集成(.net 4.7.1及以后版本)请使用Com.Ctrip.Framework.Apollo.ConfigurationManager包 直接使用ApolloConfigurationManager请使用Com.Ctrip.Framework.Apollo.Configuration或者Com.Ctrip.Framework.Apollo.ConfigurationManager 2.3.0: 1. 添加ICacheFileProvider支持自定义配置缓存方式(比如本地加密存储) 2.2.0: 1. 使用C# 8、添加nullable 2. 添加net40支持 2.1.0: 1. 无 2.0.5: 1. ApolloConfigurationManager初始化异常后,每次调用抛出有意义的异常 2.0.4: 1. AppSettingsSectionBuilder默认强制更新(forceUpdate属性配置)AppSettings,实现ConfigurationManager.AppSettings的动态更新(其他的仍然不支持动态更新) 2.0.3: 1. 无 2.0.2: 1. ApolloConfigurationManager标记为Obsolete 2.0.1: 1. 过滤重复的Namespace 2.0.0: 1. 添加json、xml等格式的namespace的支持,通过扩展名识别格式 2. 支持从环境变量读取apollo配置值 3. 添加对.net core风格key支持,优先级低于原来的key
Install
dotnet add package Com.Ctrip.Framework.Apollo.ConfigurationManager --version 2.3.0
Install-Package Com.Ctrip.Framework.Apollo.ConfigurationManager -Version 2.3.0
<PackageReference Include="Com.Ctrip.Framework.Apollo.ConfigurationManager" Version="2.3.0" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.