Windows 服务安装与卸载 (通过 Sc.exe)
摘要:1. 安装 新建文本文件,重命名为 ServiceInstall.bat,将 ServiceInstall.bat 的内容替换为: sc create "Verity Platform Device Service" binPath= "%~dp0WindowsService_HardwareDev
阅读全文
posted @
2019-12-23 10:44
青叶煮酒
阅读(1434)
推荐(0) 编辑
WCF 服务应用程序使用(创建、托管、安装)
摘要:1. 创建 WCF 服务程序和客户端程序,参考如下: https://docs.microsoft.com/zh-cn/dotnet/framework/wcf/getting-started-tutorial 2. 在托管 Windows 服务中承载 WCF 服务,参考如下: https://do
阅读全文
posted @
2019-12-16 17:02
青叶煮酒
阅读(328)
推荐(0) 编辑
Windows 服务安装与卸载 (通过 installutil.exe)
摘要:1. 安装 安装 .NET Framework ; 新建文本文件,重命名为 ServiceInstall.bat,将 ServiceInstall.bat 的内容替换为: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\InstallUtil.e
阅读全文
posted @
2019-12-16 16:45
青叶煮酒
阅读(3258)
推荐(0) 编辑