上一页 1 2 3 4 5 6 7 ··· 23 下一页
  2017年2月6日
摘要: 分布式缓存框架: Microsoft Velocity:微软自家分布式缓存服务框架。 Memcahed:一套分布式的高速缓存系统,目前被许多网站使用以提升网站的访问速度。 Redis:是一个高性能的KV数据库。 它的出现很大程度补偿了Memcached在某些方面的不足。 EnyimMemcached 阅读全文
posted @ 2017-02-06 11:18 雪夜 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1、 ASP.NET Web API 用IE浏览器访问下载文件问题 2、 改善ASP.NET Web API性能的八项技术 http://blog.csdn.net/moonpure/article/details/46559651 阅读全文
posted @ 2017-02-06 11:15 雪夜 阅读(128) 评论(0) 推荐(0) 编辑
  2017年2月3日
摘要: ```code respository.GetPaged(out count, m => m.LoginName.Contains("a"),"LoginName asc,LoginNum desc", 1, 20); public IList GetPaged(out int total, Expression> filter = null, Func, IOrderedQu... 阅读全文
posted @ 2017-02-03 23:54 雪夜 阅读(146) 评论(0) 推荐(0) 编辑
摘要: ```code /// /// 直接获取特定一个或者多个字段的值 /// 多个字段需要声明Model /// var s= testDal.GetScalar(m=>m.Code== "02018",m=>new { m.Name,m.Code }); /// var a = s.Name; //... 阅读全文
posted @ 2017-02-03 23:40 雪夜 阅读(157) 评论(0) 推荐(0) 编辑
摘要: ```code // ////1 public Task ReservedQuantity(long productId, long skuId, int reservedQuantity, long userId) { return Update(i => new Inventory { ReservedQuantity = i.ReservedQuantity + r... 阅读全文
posted @ 2017-02-03 23:23 雪夜 阅读(346) 评论(0) 推荐(0) 编辑
  2017年1月19日
摘要: http://www.cnblogs.com/kissdodog/p/3875992.html 阅读全文
posted @ 2017-01-19 10:12 雪夜 阅读(79) 评论(0) 推荐(0) 编辑
  2016年12月16日
摘要: ```code 本文属转载,来源: http://www.byywee.com/page/M0/S868/868615.html 关于Model验证官方资料: http://msdn.microsoft.com/zh-cn/library/system.componentmodel.dataannotations.aspx ASP.NET MVC3中的Model是自验证的,这... 阅读全文
posted @ 2016-12-16 11:23 雪夜 阅读(108) 评论(0) 推荐(0) 编辑
  2016年12月13日
摘要: ```code #region appSetting /// /// 设定 appSetting /// /// /// public static void SetValue(string AppKey, string AppValue) { XmlDocument xDoc = new XmlDocume... 阅读全文
posted @ 2016-12-13 16:39 雪夜 阅读(151) 评论(0) 推荐(0) 编辑
  2016年12月10日
摘要: ```code //mysql安装目录 mysqld --install mysqld --remove mysql5.5 mysqld --remove mysql5.5 C:\Program Files\MySQL\MySQL Server 5.5 编辑mysql2目录下的配置文件my.ini 修改配置文件中所有port的值,将第二个MySQL服务的端口改成3307 修改配置文件中b... 阅读全文
posted @ 2016-12-10 10:33 雪夜 阅读(135) 评论(0) 推荐(0) 编辑
  2016年12月3日
摘要: ```code ASP.NET开发中主要的字符验证方法-JS验证、正则表达式、验证控件、后台验证 2012年03月19日 星期一 下午 8:53 在ASP.NET开发中主要的验证方法收藏 使用JS验证 匹配中文字符的正则表达式: [\u4e00-\u9fa5] 匹配双字节字符(包括汉字在内):[^\x00-\xff] 备注:可以用来计算字符串的长度(一个双字节字符长度计2,ASCII字符计1... 阅读全文
posted @ 2016-12-03 16:07 雪夜 阅读(701) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 23 下一页