寻找.NET配置框架 [英] Looking for a .NET Configuration Framework

查看:112
本文介绍了寻找.NET配置框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我的下一个项目(很多SOA东西),我需要一个基于组件的配置并存储在数据库中,以实现中央管理。 app.config / web.config不支持任何这些要求(我知道一些黑客与应用程序域,虽然)。那么,你们任何人都知道一个配置框架吗?



我知道如何google ;-)但我会感谢一些关于你已经使用的框架的经验。 p>

提前感谢!
Flo

解决方案

我也在一个大型SOA项目上工作。我们正在使用 Nini ,效果非常不错。



以下是一些功能:




  • 多种配置类型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 Small footprint, built for speed
  • Merging Merge several configs into one
  • 100% free Free and open source code
  • Value aliases Add aliases for unclear variables
  • Key value replacement Replaces values with other key values
  • Cross platform Run on .NET/Mono Linux/Mac/Windows
  • INI parser Contains a 100% managed INI parser
  • Fully documented See the Nini manual and API reference
  • Unlimited files/sources Loads an unlimited number of files
  • Compact Framework Supports the .NET Compact Framework
  • Command line application Has a command-line configuration editor
  • Mature and stable Over 140 unit tests

Have a look at it.

这篇关于寻找.NET配置框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆