06 2018 档案

摘要:首先 引用 SuperSocket.ClientEngine.Core.dll和 SuperSocket.ClientEngine.Common.dll 然后 就可以使用ClientEngine了。 ClientEngine 我找了好久,只找到 AsyncTcpSession这么一个可以实例化的连接 阅读全文
posted @ 2018-06-15 14:57 天王星天 阅读(1495) 评论(0) 推荐(0) 编辑
摘要:参考资料说明 SuperSocket文档 http://docs.supersocket.net/ Protobuf语言参考 https://developers.google.com/protocol-buffers/docs/proto 单消息多类型解决方案 https://developers 阅读全文
posted @ 2018-06-15 14:51 天王星天 阅读(417) 评论(0) 推荐(1) 编辑
摘要:1)为什么使用SuperSocket? 性能高,易上手。有中文文档,我们可以有更多的时间用在业务逻辑上,SuperSocket有效的利用自己的协议解决粘包 2)SuperSocket的协议内容? 命令 body 列如:TestCommand 1 2 3)怎样在Net下使用 SuperSocket? 阅读全文
posted @ 2018-06-15 11:24 天王星天 阅读(560) 评论(0) 推荐(0) 编辑
摘要:在进行WPF开发过程中,需要从一个新的线程中操作ObservableCollection,结果程序抛出一个NotSupportedException的错误 public class AsyncObservableCollection<T> : ObservableCollection<T> { // 阅读全文
posted @ 2018-06-13 19:41 天王星天 阅读(549) 评论(0) 推荐(0) 编辑
摘要:项目启动时,添加下面代码: 项目启动时,添加 public App() { ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true 阅读全文
posted @ 2018-06-13 16:46 天王星天 阅读(468) 评论(0) 推荐(0) 编辑
摘要:异步扩展: public static class RestClientExtensions { private static Task<T> SelectAsync<T>(this RestClient client, IRestRequest request, Func<IRestRespons 阅读全文
posted @ 2018-06-13 15:09 天王星天 阅读(483) 评论(0) 推荐(0) 编辑
摘要:Dapper 是一款非常不错的轻型 ORM 框架,使用起来非常方便,经常使用 EF 框架的人几乎感觉不到差别,下面是自己写的 Sqlite 通用帮助类; 数据连接类; public class SQLiteBaseRepository { public static string DbFile { 阅读全文
posted @ 2018-06-12 15:35 天王星天 阅读(963) 评论(0) 推荐(0) 编辑
摘要:https://bbs.csdn.net/topics/390486402 https://codereview.stackexchange.com/questions/20871/single-instance-wpf-application http://blogs.microsoft.co.i 阅读全文
posted @ 2018-06-12 10:26 天王星天 阅读(249) 评论(0) 推荐(0) 编辑
摘要:https://www.connectionstrings.com/sqlite/ SQLite.NET Basic Data Source=c:\mydb.db;Version=3; Version 2 is not supported by this class library. SQLite 阅读全文
posted @ 2018-06-05 16:09 天王星天 阅读(327) 评论(0) 推荐(0) 编辑
摘要:C# SQLite 数据库操作学习: https://www.cnblogs.com/leemano/p/6578050.html SQLite 之 C#版 System.Data.SQLite 使用:下载 https://www.cnblogs.com/mengdongsky/p/6867038. 阅读全文
posted @ 2018-06-05 15:24 天王星天 阅读(144) 评论(0) 推荐(0) 编辑
摘要:http://www.dxper.net/ 阅读全文
posted @ 2018-06-01 11:27 天王星天 阅读(258) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示