上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 35 下一页
摘要: git tag -d v2016062101 删除本地tag git push origin --delete tag v2016062101 删除远程tag 阅读全文
posted @ 2016-06-23 19:16 zslm___ 阅读(244) 评论(0) 推荐(0) 编辑
摘要: Nugut安装 log4net 和 topShelf 1)ServiceRunner类 using log4net;using Topshelf; class ServiceRunner : ServiceControl//, ServiceSuspend { private Timer _time 阅读全文
posted @ 2016-06-23 18:33 zslm___ 阅读(328) 评论(0) 推荐(0) 编辑
摘要: using Autofac;using Autofac.Builder;using Autofac.Core; //实现Autofac扩展 public static AutofacRegisterWcf { public static IRegistrationBuilder<TServiceCo 阅读全文
posted @ 2016-06-23 11:23 zslm___ 阅读(1171) 评论(0) 推荐(0) 编辑
摘要: Controller里 [SendMessage] public Action SendSmsMessage() { var resultExtendInfo=new ResultExtendInfo(){Phone="13434343434"}; if(true) return new G2Jso 阅读全文
posted @ 2016-06-23 10:51 zslm___ 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 一种是类级别的插件开发,即给jquery添加新的全局函数,相当于给jquery类本身添加方法。如$.ajax()等,这就是用$.extend()实现 jquery的全局函数就是属于jquery命名空间的函数。另一种是对象级别的插件开发,即给jquery对象添加方法. 如$('#btn1').clic 阅读全文
posted @ 2016-06-22 14:40 zslm___ 阅读(194) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><job-scheduling-data xmlns="http://quartznet.sourceforge.net/JobSchedulingData" xmlns:xsi="http://www.w3.org/200 阅读全文
posted @ 2016-06-22 09:41 zslm___ 阅读(5141) 评论(0) 推荐(0) 编辑
摘要: public class UpLoad { int imgmaxheight = 0; int imgmaxwidth = 0; int thumbnailwidth = 200; int thumbnailheight = 200; int imgsize = 10240; int attachs 阅读全文
posted @ 2016-06-22 00:44 zslm___ 阅读(469) 评论(0) 推荐(0) 编辑
摘要: public class WaterMark { /// <summary> /// 图片水印 /// </summary> /// <param name="imgPath">服务器图片相对路径</param> /// <param name="filename">保存文件名</param> // 阅读全文
posted @ 2016-06-22 00:43 zslm___ 阅读(277) 评论(0) 推荐(0) 编辑
摘要: public class Thumbnail { private Image srcImage; private string srcFileName; /// <summary> /// 创建 /// </summary> /// <param name="FileName">原始图片路径</pa 阅读全文
posted @ 2016-06-22 00:42 zslm___ 阅读(331) 评论(0) 推荐(0) 编辑
摘要: public static class CacheHelper { static Cache _cache = HttpRuntime.Cache; /// <summary> /// 获取缓存 /// </summary> /// <param name="key"></param> /// <r 阅读全文
posted @ 2016-06-22 00:40 zslm___ 阅读(349) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 35 下一页