.NET Core 部署为 Windows 服务| NSSM 如何使用


Dotnet SDK/Runtime 安装完毕后,可以看到 C:\Program Files\dotnet 目录,有一个文件为dotnet.exe。

  1. 将你的 dotnet 程序(.dll .exe,配置文件等)复制到一个合适的目录。
  2. 解压 nssm-2.24.zip 文件,使用 cmd 或 powershell 打开到 nssm 的目录,执行
.\nssm.exe install


《.NET Core 部署为 Windows 服务| NSSM 如何使用》

NSSM 下载地址:

  1. 界面解释
    • Application Path,填写 C:\Program Files\dotnet\dotnet.exe ;
  • Startup directory 填写 监控程序软件包所在的目录;
  • Arguments 填写 AAA.dll
  • Service name 指监控程序在 Windows 服务中的名字,如填写 AAA,可以随意设置;
    《.NET Core 部署为 Windows 服务| NSSM 如何使用》

然后点击 Install service,即可完成安装。之后,可以打开任务管理器,点击 “服务”,可以看到程序。

  1. erotik说道:

    I just updated my site with a new list. I hope you all are having a great week. Josefina Heath Coke

  2. erotik film izle说道:

    Thanks for sharing your thoughts on medical doctor. Dido Jamie Goldia

  3. erotik izle说道:

    When some one searches for his essential thing, thus he/she desires to be available that in detail, thus that thing is maintained over here. Tressa Wait Zischke

  4. erotik izle说道:

    As I website possessor I conceive the subject matter here is real superb, thank you for your efforts. Libby Lemuel Irisa

    1. whuanle说道:

      Thank you for your attention.

  5. erotik izle说道:

    The common symbols are bars, cherries, double bars and sevens. Patrizia Clim Buzz

  6. sikis izle说道:

    But wanna remark that you have a very decent web site, I like the style and design it really stands out. Myrle Kevon Nibbs

    1. whuanle说道:

      Thank you for your attention.

  7. erotik izle说道:

    Incredible points. Sound arguments. Keep up the good spirit. Leola Brewer Ver

    1. whuanle说道:

      Thank you for your attention.

  8. sikis izle说道:

    Very good article! We are linking to this great article on our site. Keep up the great writing. Lilian Abrahan Pryor

    1. whuanle说道:

      Thank you for your attention.


邮箱地址不会被公开。 必填项已用*标注

You must enable javascript to see captcha here!