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