Com.Ctrip.Framework.Apollo.Configuration
携程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.4.2: 1. 完全禁用ApolloConfigurationManager 2.4.1: 1. 支持从配置中读取apollo namespace(key apollo:Namespaces,值为数组,后面优先) 2.4.0: 1. 添加apollo 1.6访问密钥 2.3.0: 1. 添加ICacheFileProvider支持自定义配置缓存方式(比如本地加密存储) 2.2.0: 1. 使用C# 8、添加nullable 2.1.0: 1. 无 2.0.2: 1. 使用新方法获取Properties里的值 2.0.1: 1. 过滤重复的Namespace(后面添加的为准) 2.0.0: 1. 支持添加namespace时指定格式 2. 支持通过Env读取metaserver
Install
dotnet add package Com.Ctrip.Framework.Apollo.Configuration --version 2.5.0
Install-Package Com.Ctrip.Framework.Apollo.Configuration -Version 2.5.0
<PackageReference Include="Com.Ctrip.Framework.Apollo.Configuration" Version="2.5.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 1 target framework; 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.