Comments (2)
目前是值支持键值对这种形式吗? 比如我想在客户端里读出一个配置节点的对象,应该怎么操作呢?
目前只支持简单的k/v,或者利用ioption支持一层的简单对象嵌套。
比如你图上配置的有2个方法来处理
1.完完全全当键值对来处理,根据dbconn获取值然后自己反序列化成对象,我觉得这样挺好,简单暴力,一目了然。
2.你可以这样配置: group=dbcon key=friut value=123 然后定义一个class xxx{ public string friut {get;set;} } 然后可以使用ioption模式自动反序列化, 参考sample示例的使用方式。
from agileconfig.
了解了,因为我这现有的配置,有个配置项的值是个列表... 我了解下源代码先,
from agileconfig.
Related Issues (20)
- 请问后续有没有支持SSO协议的计划? HOT 9
- VS调试运行时,界面错误(路径错误),发布UI文件已经放置到wwwroot目录中 HOT 4
- 初始化数据库的时候报错 "Guid should contain 32 digits with 4 dashes" HOT 1
- 集群模式下Node节点到的是容器内部IP,导致主节点无法访问到 HOT 6
- User ID 字段过短 HOT 2
- 最新版的部署节点检测状态有问题? HOT 8
- 应用Id为中文时有问题 HOT 2
- SSO 登录成功后管理删除用户后还能正常登录 HOT 1
- 可以支持到Ocelot吗 HOT 7
- 事件查看器中经常报这种错误,有影响吗?
- 事件查看器中经常报这种错误,有影响吗? HOT 1
- 苹果电脑该如何部署?有没有相关的文档或者文章。 HOT 16
- Any plan to add an agileconfig client for python? HOT 1
- 在docker上运行的时候,有些地方报错 HOT 2
- agileconfig在导入数据时,如果对应的value为空字符串报错 HOT 12
- [性能] 是否考虑支持 .Net8 AOT ? HOT 3
- 日志能否接入 Seq 或者 Exceptionless ? HOT 3
- 是否有考虑过导入/导出数据的时候,把备注也加进去 HOT 1
- 已解决删了
- 如何关闭Trace 日志 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agileconfig.