上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: 参考http://www.cnblogs.com/jesse2013/p/async-and-await.html 事例: static void Main(string[] args) { for (int i = 0; i GetNameAsync() { // 这里还是主线程 Conso... 阅读全文
posted @ 2017-03-02 16:39 chenjingchun 阅读(10963) 评论(0) 推荐(2) 编辑
摘要: MSMQ全称是Microsoft Message Queue——微软消息队列。 MSMQ是一种通信的机制,因为是一种中间件技术,所以它能够支持多种类型的语言开发,同时也是跨平台的通信机制,也就是说MQ支持将信息转化为XML或者JSon等类型的数据存储到消息队列中,然后可以使用不同的语言来处理消息队列 阅读全文
posted @ 2017-02-16 14:56 chenjingchun 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 1.安装chocolatey 以管理员权限运行命令提示符(cmd.exe) @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%... 阅读全文
posted @ 2017-02-09 16:51 chenjingchun 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 'abc...'.replace(new RegExp('oldStr', 'gm'), 'newStr') 阅读全文
posted @ 2017-01-19 16:32 chenjingchun 阅读(377) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { ... 阅读全文
posted @ 2017-01-09 09:59 chenjingchun 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 1.vp计数 http://www.amazingcounters.com 2.来源地图 http://clustrmaps.com 2.1来源地图 http://www.flagcounter.com/ 3.推荐按钮浮动,放在“页面定制CSS代码” 4.点击图片放大 引用js和css,这是上传到我 阅读全文
posted @ 2016-11-30 16:20 chenjingchun 阅读(1795) 评论(1) 推荐(12) 编辑
摘要: 1.下载并安装 https://github.com/shadowsocks/shadowsocks-csharp/releases 2.购买服务 https://portal.shadowsocks.com/cart.php 登录后在我的产品与服务查看 3.设置,代理端口是自己定义的 重要 选择: 阅读全文
posted @ 2016-11-30 09:41 chenjingchun 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1.下载并引用js, 官网http://layer.layui.com/ 文档http://www.layui.com/doc/modules/layer.html 2.自定义样式 3.调用 好文要顶呀,兄弟们 阅读全文
posted @ 2016-11-24 14:32 chenjingchun 阅读(35300) 评论(2) 推荐(10) 编辑
摘要: 小记: 引用Quartz、Topshelf、Topshelf.Quartz 使用方法: http://www.cnblogs.com/mushroom/p/4952461.html http://www.cnblogs.com/jys509/p/4614975.html 任务调度: http://w 阅读全文
posted @ 2016-10-28 16:19 chenjingchun 阅读(673) 评论(0) 推荐(0) 编辑
摘要: protected static object MObjLock = new object();//同步锁 public string GetData(int mId) { Monitor.Enter(MObjLock);//lock string data = string.Empty; ... 阅读全文
posted @ 2016-09-23 10:59 chenjingchun 阅读(692) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页