问题描述
由于我的下一个项目(很多SOA东西),我需要一个基于组件的配置并存储在数据库中,以实现中央管理。 app.config / web.config不支持任何这些要求(我知道一些黑客与应用程序域,虽然)。那么,你们任何人都知道一个配置框架吗?
我知道如何google ;-)但我会感谢一些关于你已经使用的框架的经验。 p>
提前感谢!
Flo
我也在一个大型SOA项目上工作。我们正在使用,效果非常不错。
以下是一些功能:
- 多种配置类型INI,
XML,注册表,和命令行 - 强的变量类型String,
int,float等取消转换 - 设置并保存添加,
和保存配置 - 轻便快速小
足迹,专为速度而设 - 合并合并多个配置
到一个 - 100%免费免费开源
代码 - 值别名为
添加别名不清楚的变量 - 键值替换用其他键值替换
值 - 跨平台在.NET / Mono上运行
Linux / Mac / Windows - INI解析器包含100%
管理的INI解析器 - 完整文档请参阅Nini
手册和API参考 - 无限文件/源加载
无限数量的文件 - Compact Framework支持
.NET Compact Framework - 命令行应用程序具有
命令行配置编辑器 - 成熟稳定超过140个单位
测试
看看吧。
Due to my next project (much SOA stuff) I need a component based configuration and stored in a database to enable a central administration. app.config/web.config does not support any of those requirements (I know some hacks with app-domains, though). So does anybody of you know a configuration framework? It does not necessary have to be free of cost.
I know how to google ;-) but I'd appreciate some experiences about a framework you already used.
Thanks in advance!Flo
I also work on a big SOA project. We are using Nini and it is quite good.
Here are some of the features :
- Multiple configuration types INI,XML, Registry, and command line
- Strong variable types String,int, float, etc. Eliminates casts
- Set and save Add, remove, edit,and save configs
- Lightweight and fast Smallfootprint, built for speed
- Merging Merge several configsinto one
- 100% free Free and open sourcecode
- Value aliases Add aliases forunclear variables
- Key value replacement Replacesvalues with other key values
- Cross platform Run on .NET/MonoLinux/Mac/Windows
- INI parser Contains a 100%managed INI parser
- Fully documented See the Ninimanual and API reference
- Unlimited files/sources Loads anunlimited number of files
- Compact Framework Supports the.NET Compact Framework
- Command line application Has acommand-line configuration editor
- Mature and stable Over 140 unittests
Have a look at it.
这篇关于寻找.NET配置框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!