跳到主要内容

Windows部署

提示

如果需要Runtime依赖部署,需要安装ASP.NET Core Runtime,如果是独立发布部署,则不需要安装Runtime

下载链接:https://dotnet.microsoft.com/zh-cn/download/dotnet

遵循windows service服务安装/启动/停止方式 https://docs.microsoft.com/zh-cn/windows-server/administration/windows-commands/sc-create

提供懒人bat脚本文件,管理员身份运行WindowsServiceCreate.bat

运行脚本后可以在windows服务中找到ThingsGateway

如需删除服务,运行WindowsServiceDelete.bat