摘要: 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___ 阅读(133) 评论(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___ 阅读(596) 评论(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___ 阅读(304) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 数据库表名 /// </summary> [AttributeUsage(AttributeTargets.Class)] public class DBTableNameAttribute : Attribute { public string Name { g 阅读全文
posted @ 2016-04-24 23:09 zslm___ 阅读(197) 评论(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___ 阅读(168) 评论(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___ 阅读(143) 评论(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___ 阅读(256) 评论(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___ 阅读(177) 评论(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___ 阅读(175) 评论(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___ 阅读(202) 评论(0) 推荐(0) 编辑