上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 65 下一页
摘要: 以修改5节点非安全模式为例: 在C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup\NonSecure\FiveNode目录下,修改文件【ClusterManifestTemplate.json】的权限,然后将此文件里的%systemdrive%替换为要更改的目录(例:d:) 阅读全文
posted @ 2018-03-22 16:50 94cool 阅读(729) 评论(0) 推荐(1)
摘要: Service Fabric下删除实例并注销应用: 以应用名称:Application1为例 1、打开PowerShell 2、连接集群: Connect-ServiceFabricCluster -ConnectionEndpoint localhost:19000 3、删除实例: Remove-ServiceFabricApplication -ApplicationName fabr... 阅读全文
posted @ 2018-03-22 11:39 94cool 阅读(562) 评论(0) 推荐(0)
摘要: if (txbValue.InvokeRequired) txbValue.Invoke(new MethodInvoker(delegate() { txbValue.Text = “test”; })); 阅读全文
posted @ 2018-03-07 17:39 94cool 阅读(354) 评论(0) 推荐(0)
摘要: mongo文档【tblEvent】如下: { "_id" : ObjectId("5a0415f9bf28b684b1c7f5b2"), "citycode" : 3501, "startTime" : ISODate("2016-01-02T00:00:00.000+0800"), "endTime" : ISODate("2016... 阅读全文
posted @ 2018-03-05 15:54 94cool 阅读(3610) 评论(0) 推荐(0)
摘要: c#: /// /// 完整 /// public class TripleDESHelper1 { public static string Encrypt(string aStrString, string aStrKey, CipherMode mode = CipherMode.ECB, string iv ... 阅读全文
posted @ 2018-01-22 10:21 94cool 阅读(2530) 评论(0) 推荐(0)
摘要: 样例数据: { "cNo" : "11", "Details" : [ { "dDate" : ISODate("2017-04-01T00:00:00.000+0800"), "bNo" : "No00000000497" }, { ... 阅读全文
posted @ 2018-01-18 14:32 94cool 阅读(3582) 评论(0) 推荐(0)
摘要: 项目目录:SourceCode\公共组件\KApiClient\ 要复制的目的目录: SourceCode\公共组件\DllLibrary\ApiClient 则在项目 KApiClient下添加如下: Set OD="$(ProjectDir)..\DllLibrary\ApiClient" attrib "%OD%\$(TargetName).*" -r -a ... 阅读全文
posted @ 2018-01-12 11:40 94cool 阅读(2572) 评论(0) 推荐(0)
摘要: public static bool IsPropertyExist(dynamic data, string propertyname) { if (data is ExpandoObject) return ((IDictionary<string, object>)data).Contains 阅读全文
posted @ 2017-12-28 14:36 94cool 阅读(10582) 评论(0) 推荐(2)
摘要: static void Main() { string baseAddress = "http://localhost:4004/"; /*Render application Application.EnableVisualStyles(); Application.SetCompatibleTe 阅读全文
posted @ 2017-12-01 19:14 94cool 阅读(1027) 评论(1) 推荐(1)
摘要: from:https://www.xcode.me/more/net-csharp-generate-random 随机数生成方法可以说是任何编程语言必备的功能,它的重要性不言而言,在C#中我们通常使用Random类生成随机数,在一些场景下,我却发现Random生成的随机数并不可靠,在下面的例子中我 阅读全文
posted @ 2017-11-30 14:16 94cool 阅读(6916) 评论(1) 推荐(1)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 65 下一页