runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 68 下一页

2021年12月13日

摘要: 使用了LinqKit、PagedList.Mvc、EntityFramework 等DLL 直接使用nuget安装即可。 1.表模型: using System.ComponentModel.DataAnnotations; namespace StoreDB.Models { public cla 阅读全文
posted @ 2021-12-13 14:36 runliuv 阅读(167) 评论(0) 推荐(0) 编辑

2021年12月3日

摘要: 1.新建一个名为“ConsoleQuartz”的.NET6控制台程序。 2.nuget中安装Quartz和Quartz.Plugins,这2个DLL。 3.新建一个HelloQuartzJob类: using Quartz; namespace ConsoleQuartz { public clas 阅读全文
posted @ 2021-12-03 10:27 runliuv 阅读(3122) 评论(1) 推荐(0) 编辑

2021年12月2日

摘要: AnkhSVN For VS2022 AnkhSVN 2.9.87 - Visual Studio 2022 support https://github.com/AmpScm/AnkhSVN/releases/tag/v2.9.87 https://files.cnblogs.com/files/ 阅读全文
posted @ 2021-12-02 16:37 runliuv 阅读(1213) 评论(0) 推荐(0) 编辑

摘要: 错误完整内容: Microsoft Visual Studio System.Reflection.TargetInvocationException: 调用的目标发生了异常。 > System.IO.FileNotFoundException: 未能加载文件或程序集“SharpGit, Versi 阅读全文
posted @ 2021-12-02 09:26 runliuv 阅读(552) 评论(0) 推荐(0) 编辑

2021年12月1日

摘要: Windows服务的制作、安装可以参考这篇: C#.NET 操作Windows服务(安装、卸载) - runliuv - 博客园 (cnblogs.com) 本篇会在这个解决方案基础上,继续修改。 一、制作WCF 我们在原有解决方案上添加一个“WCF 服务库”,为名“WcfYeah”。 在WcfYe 阅读全文
posted @ 2021-12-01 10:07 runliuv 阅读(803) 评论(1) 推荐(3) 编辑

2021年11月30日

摘要: 1.新建一个名为“WindowsForms承载WCF”的WINFORM程序。 2.在解决方案里添加一个“WCF 服务库”的项目,名为“WcfYeah”。 3.修改IService1文件,内容如下: using System.Runtime.Serialization; using System.Se 阅读全文
posted @ 2021-11-30 16:35 runliuv 阅读(466) 评论(0) 推荐(0) 编辑

摘要: 使用搜索按钮(WIN+Q),搜索“多任务设置”,在弹出的窗口中看到“alt+tab”相关设置。选择“仅打开的窗口”,ok搞定。 阅读全文
posted @ 2021-11-30 12:27 runliuv 阅读(543) 评论(1) 推荐(1) 编辑

摘要: winform同步承载WCF时,遇到大量请求,可能会阻塞UI线程。这时就需要开个线程来承载WCF。 1.硬编码形式创建WCF服务,WCFServer类: using CommonUtils; using System; using System.Net; using System.ServiceMo 阅读全文
posted @ 2021-11-30 10:40 runliuv 阅读(293) 评论(0) 推荐(0) 编辑

摘要: 1.新建一个名为“WindowsForms承载WCF”的WINFORM程序。 2.在解决方案里添加一个“WCF 服务库”的项目,名为“WcfYeah”。 3.修改IService1文件,内容如下: using System; using System.Collections.Generic; usi 阅读全文
posted @ 2021-11-30 09:41 runliuv 阅读(559) 评论(0) 推荐(0) 编辑

2021年11月29日

摘要: 注意点: 1.安装时要请求到管理员权限。 2.卸载前,一定要停止掉Windows服务,否则需要重启或注销电脑。代码无法停止服务时,使用services.msc来停止。 开始: 1。新建一个名为“Windows服务操作”的WINFORM程序。 2。在解决方案里添加一个Windows服务项目,名为“AD 阅读全文
posted @ 2021-11-29 18:03 runliuv 阅读(1950) 评论(0) 推荐(1) 编辑

上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 68 下一页