摘要: SQL 中新建数据库 DataSystem 1.web.config 数据库连接字符串: <add name="APPDataConnection" connectionString="Data Source=.;Initial Catalog=DataSystem;integrated secur 阅读全文
posted @ 2016-03-29 22:19 李寒星 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 20160308 开始,进入低谷期,说不出的烦恼,烦,烦,烦,烦,烦,烦。 阅读全文
posted @ 2016-03-29 21:10 李寒星 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 最近在学习 log4Net 插件,在博客园找到了好多资料,但是实现起来还是有点麻烦。 现在记录下学习的过程,期间可能加载着借鉴和转载的代码。 1.配置文件的设置: 新建config文件夹下 log4net.config文件,代码如下: <?xml version="1.0"?><configurat 阅读全文
posted @ 2016-03-29 15:10 李寒星 阅读(546) 评论(1) 推荐(0) 编辑
摘要: 1.读取配置文件参数 <appSettings> <add key="Log4net" value="1"/> </appSettings> string filePath = System.Configuration.ConfigurationManager.AppSettings["log4ne 阅读全文
posted @ 2016-03-29 11:10 李寒星 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 1.Model 类型 public class SerializerBookModels { [DataMember] public int ID { get; set; } [DataMember] public string Name { get; set; } [DataMember] pub 阅读全文
posted @ 2016-03-29 10:28 李寒星 阅读(166) 评论(0) 推荐(0) 编辑