摘要:
使用了LinqKit、PagedList.Mvc、EntityFramework 等DLL 直接使用nuget安装即可。 1.表模型: using System.ComponentModel.DataAnnotations; namespace StoreDB.Models { public cla 阅读全文
摘要:
1.新建一个名为“ConsoleQuartz”的.NET6控制台程序。 2.nuget中安装Quartz和Quartz.Plugins,这2个DLL。 3.新建一个HelloQuartzJob类: using Quartz; namespace ConsoleQuartz { public clas 阅读全文
摘要:
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/ 阅读全文
摘要:
错误完整内容: Microsoft Visual Studio System.Reflection.TargetInvocationException: 调用的目标发生了异常。 > System.IO.FileNotFoundException: 未能加载文件或程序集“SharpGit, Versi 阅读全文
摘要:
Windows服务的制作、安装可以参考这篇: C#.NET 操作Windows服务(安装、卸载) - runliuv - 博客园 (cnblogs.com) 本篇会在这个解决方案基础上,继续修改。 一、制作WCF 我们在原有解决方案上添加一个“WCF 服务库”,为名“WcfYeah”。 在WcfYe 阅读全文
摘要:
1.新建一个名为“WindowsForms承载WCF”的WINFORM程序。 2.在解决方案里添加一个“WCF 服务库”的项目,名为“WcfYeah”。 3.修改IService1文件,内容如下: using System.Runtime.Serialization; using System.Se 阅读全文
摘要:
使用搜索按钮(WIN+Q),搜索“多任务设置”,在弹出的窗口中看到“alt+tab”相关设置。选择“仅打开的窗口”,ok搞定。 阅读全文
摘要:
winform同步承载WCF时,遇到大量请求,可能会阻塞UI线程。这时就需要开个线程来承载WCF。 1.硬编码形式创建WCF服务,WCFServer类: using CommonUtils; using System; using System.Net; using System.ServiceMo 阅读全文
摘要:
1.新建一个名为“WindowsForms承载WCF”的WINFORM程序。 2.在解决方案里添加一个“WCF 服务库”的项目,名为“WcfYeah”。 3.修改IService1文件,内容如下: using System; using System.Collections.Generic; usi 阅读全文
摘要:
注意点: 1.安装时要请求到管理员权限。 2.卸载前,一定要停止掉Windows服务,否则需要重启或注销电脑。代码无法停止服务时,使用services.msc来停止。 开始: 1。新建一个名为“Windows服务操作”的WINFORM程序。 2。在解决方案里添加一个Windows服务项目,名为“AD 阅读全文