摘要: webconfig.xml的配置文件内容挺丰富的,在这篇文章里笔者只对AppSettings这个节点进行配置文件读取和添加public class ConfigurationRef { /// /// 根据键值获取配置文件 /// ... 阅读全文
posted @ 2014-06-30 08:57 dongqinglove 阅读(390) 评论(1) 推荐(0) 编辑
摘要: 在很多时候我们返回值使用json会更方便一点,下面我把我常用到的返回值封装代码贴出来。 public class ApiJsonResult { public T Data { get; set; } public ApiJsonError Error { ge... 阅读全文
posted @ 2014-06-30 08:49 dongqinglove 阅读(400) 评论(0) 推荐(0) 编辑