WorkerServices部署为Windows服务

WorkerServices写好后准备部署到服务器上 nugit 安装包 Microsoft.Extensions.Hosting.WindowsServices Program.cs中添加.UseWindowsService() 安装和启动服务 sc.exe create 服务名 binpath=
posted @ 2021-02-01 12:01  开拓丿飞  阅读(713)  评论(0编辑  收藏  举报