摘要: https://github.com/MSOpenTech/redis/releases下载 Redis伴侣Redis Desktop Manager:http://redisdesktop.com/download http://www.cnblogs.com/wuhuacong/p/512334 阅读全文
posted @ 2016-04-26 10:01 zslm___ 阅读(134) 评论(0) 推荐(0) 编辑
摘要: [Serializable] public class OrderHead { public String OrderId { get; set; } public String OrderName { get; set; } } [Serializable] public class OrderT 阅读全文
posted @ 2016-04-25 10:42 zslm___ 阅读(602) 评论(0) 推荐(0) 编辑
摘要: public class SetterWrapper<TTarget, TValue> { private Action<TTarget, TValue> _setter; public SetterWrapper(PropertyInfo propInfo) { if (propInfo == n 阅读全文
posted @ 2016-04-24 23:15 zslm___ 阅读(306) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 数据库表名 /// </summary> [AttributeUsage(AttributeTargets.Class)] public class DBTableNameAttribute : Attribute { public string Name { g 阅读全文
posted @ 2016-04-24 23:09 zslm___ 阅读(198) 评论(0) 推荐(0) 编辑
摘要: <input type="file" id="fileName" name ="fileName" onchange="GetFileSize(this)" /><script type="text/javascript"> function GetFileSize(file) { alert(fi 阅读全文
posted @ 2016-04-21 19:21 zslm___ 阅读(169) 评论(0) 推荐(0) 编辑
摘要: public class Md5 { public static String MD5Encrypt(String str) { MD5 md5 = new MD5CryptoServiceProvider(); byte[] result = md5.ComputeHash(System.Text 阅读全文
posted @ 2016-04-21 13:28 zslm___ 阅读(144) 评论(0) 推荐(0) 编辑
摘要: public static class HttpHelper { const String POST = "Post"; const String ACCEPT= "text/html, application/xhtml+xml, */*"; const String CONTENT_TYPE=" 阅读全文
posted @ 2016-04-21 13:28 zslm___ 阅读(257) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Web.Caching; 阅读全文
posted @ 2016-04-21 08:23 zslm___ 阅读(179) 评论(0) 推荐(0) 编辑
摘要: public static class CustomerConfigHelper { public static object _lockObject = new object(); private static string GetCustomConfigValue(string key) { s 阅读全文
posted @ 2016-04-21 08:19 zslm___ 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1.建立测试单元项目 2.引用XUnit.dll或者在Nuget里安装XUnit 3.安装Nuget->xUnit.net[Runner: Visual Studio] 4.打开 测试->窗口->测试资源管理器 5.编写测试代码 public class TestClass { [Fact] pub 阅读全文
posted @ 2016-04-20 11:37 zslm___ 阅读(203) 评论(0) 推荐(0) 编辑