Skip to content

什么场景用Nssm #43

@yuzd

Description

@yuzd

一般按照微软开发winfows服务的标准的话 是需要引入包:Microsoft.Extensions.Hosting.WindowsServices

但是用nssm可以不需要引入。

所以推荐在netcore开发web的场景使用nssm安装为windows服务

而且使用nssm安装的另外一个优点是可以指定启动参数? 比如 --urls=http://*:10007

前提 需要agent版本更新为6.9或以上

使用nssm来部署netcore web项目到windows服务的教程请看:https://mp.weixin.qq.com/s/Q0O7ikVOiHNccd9Qdms-jw

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions