上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 55 下一页

2015年5月31日

VS2013智能提示

摘要: Ctrl+Alt+空格 阅读全文

posted @ 2015-05-31 21:33 HOT SUMMER 阅读(363) 评论(0) 推荐(0)

2015年5月30日

Newtonsoft.Json(Json.Net)学习笔记

摘要: Newtonsoft.Json,一款.NET中开源的Json序列化和反序列化类库(下载地址http://json.codeplex.com/)。下面是Json序列化和反序列化的简单封装:/// /// Json帮助类 /// public class JsonHelper ... 阅读全文

posted @ 2015-05-30 12:27 HOT SUMMER 阅读(251) 评论(0) 推荐(0)

2015年5月25日

THREADSPOOL

摘要: STPStartInfo stp = new STPStartInfo();//线程详细配置参数 stp.CallToPostExecute = CallToPostExecute.Always;//在这里选择总是回调 //当工作项执行完成后,是否释放... 阅读全文

posted @ 2015-05-25 21:50 HOT SUMMER 阅读(374) 评论(0) 推荐(0)

2015年5月24日

SmartThreadPool

摘要: 首先是实例化的时候的参数的解释//Initialize SmartThreadPool & Make logs//SmartThreadPool m_hThreadPool;//m_hThreadPool = new SmartThreadPool();//声明一个线程池STPStartInfo s... 阅读全文

posted @ 2015-05-24 22:07 HOT SUMMER 阅读(842) 评论(0) 推荐(0)

2015年5月23日

C# 获得文件名

摘要: string strFilePaht="文件路径"; Path.GetFileNameWithoutExtension(strFilePath);这个就是获取文件名的还有的就是用Substring截取 strFilePaht.Substring(path.LastIndexOf("\\") + 1,... 阅读全文

posted @ 2015-05-23 11:18 HOT SUMMER 阅读(505) 评论(0) 推荐(0)

2015年5月20日

MongoDB Query 的几个方法

摘要: Query.All("name", "a", "b");//通过多个元素来匹配数组Query.And(Query.EQ("name", "a"), Query.EQ("title", "t"));//同时满足多个条件Query.EQ("name", "a");//等于Query.Exists("ty... 阅读全文

posted @ 2015-05-20 21:39 HOT SUMMER 阅读(4955) 评论(0) 推荐(0)

2015年5月19日

去重mongodb LIST

摘要: using MongoDB;using DockSample.DB;using MongoDB.Driver;using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;usi... 阅读全文

posted @ 2015-05-19 10:51 HOT SUMMER 阅读(565) 评论(0) 推荐(0)

2015年5月14日

MongoDB 学习 第八节 驱动实践

摘要: 作为系列的最后一篇,得要说说C#驱动对mongodb的操作,目前驱动有两种:官方驱动和samus驱动,不过我个人还是喜欢后者,因为提供了丰富的linq操作,相当方便。官方驱动:https://github.com/mongodb/mongo-csharp-driver/downloads。下载后,还... 阅读全文

posted @ 2015-05-14 22:46 HOT SUMMER 阅读(254) 评论(0) 推荐(0)

mongod安装

摘要: mongod.exe --dbpath "D:\Program Files\MongoDB\log\log.txt"mongod.exe --dbpath "D:\Program Files\MongoDB\data"http://www.cnblogs.com/lipan/archive/2011... 阅读全文

posted @ 2015-05-14 22:12 HOT SUMMER 阅读(196) 评论(0) 推荐(0)

群集

摘要: http://www.lanceyan.com/tech/mongodb/mongodb_cluster_2.html 阅读全文

posted @ 2015-05-14 14:22 HOT SUMMER 阅读(138) 评论(0) 推荐(0)

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 55 下一页

导航