上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 65 下一页
摘要: from:https://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45 Step by Step Instructions Prerequisites: · IIS is installed on Windows Server 2012. To learn more ... 阅读全文
posted @ 2017-04-22 18:24 94cool 阅读(1064) 评论(0) 推荐(0)
摘要: from:http://blog.darkthread.net/post-2013-11-29-iis8-asp-net-setup.aspx 專案動用了SignalR 2.0,在我的Windows 2008R2開發機配合Chrome實測卻怎麼都無法開啟WebSocket傳輸,後來才發現SignalR支援WebSocket的必要條件: 1. 伺服器端: .NET 4.5 Framework +... 阅读全文
posted @ 2017-04-22 18:20 94cool 阅读(9766) 评论(0) 推荐(0)
摘要: from:http://blog.csdn.net/feiyun0112/article/details/39697955 创建一个控制台程序和一个类库, 在控制台创建一个匿名对象,然后再在类库中访问它,代码如下: [csharp] view plain copy namespace ConsoleApplication1 { class Program ... 阅读全文
posted @ 2017-04-18 16:29 94cool 阅读(538) 评论(0) 推荐(0)
摘要: MongoDB docs have the answer: "When using $or with that are equality checks for the value of the same field, choose the $in operator over the $or operator." 阅读全文
posted @ 2017-04-17 20:21 94cool 阅读(3985) 评论(0) 推荐(0)
摘要: var queryDetail = new BsonDocument("cNo", doc.cNo); queryDetail.AddRange(new BsonDocument("Details.dDate", doc.oRDate)); //日表数组中存在相同报表日期的数据 ... 阅读全文
posted @ 2017-04-12 10:53 94cool 阅读(1257) 评论(0) 推荐(0)
摘要: C# mongodb $set或$addToSet批量更新很慢原因的解决方法:关键字段要建立索引 阅读全文
posted @ 2017-03-17 17:17 94cool 阅读(1286) 评论(0) 推荐(0)
摘要: from:http://www.cnblogs.com/gossip/p/4573056.html 一、None of the specified endpoints were reachable 这个异常在创建连接时抛出(CreateConnection()),原因一般是ConnectionFactory参数设置不对,比如HostName、UserName、Password 标准设置: ... 阅读全文
posted @ 2017-02-24 08:38 94cool 阅读(9215) 评论(0) 推荐(0)
摘要: from:https://my.oschina.net/chiyong/blog/289138 Mongodb 没有传统数据库的group函数,如果分组需要走MapReduce。这种MR与HadoopMR类似。下面看看Mongodb 的分组实现 现在又一张 表它的数据格式如下: { "_id" : 阅读全文
posted @ 2017-02-23 21:12 94cool 阅读(1247) 评论(0) 推荐(0)
摘要: /// <summary> /// 分页信息 /// </summary> public class PageInfo<T> { /// <summary> /// 分页信息 /// </summary> public PageInfo() { } /// <summary> /// 总页数 /// 阅读全文
posted @ 2017-02-21 16:31 94cool 阅读(8177) 评论(6) 推荐(0)
摘要: static async Task CreateIndex() { var client = new MongoClient(); var database = client.GetDatabase("HamsterSchool"); var collection = database.GetCollection("Hamsters"); await collect... 阅读全文
posted @ 2017-02-15 17:40 94cool 阅读(834) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 65 下一页