如何在没有 Powershell 的情况下在 Windows 10 iot 核心中托管 Asp.Net 5 web api
How to hosting Asp.Net 5 web api in Windows 10 iot core without Powershell
我在 pi2 上发布了一个网站 api,然后 运行 通过 Powershell 远程命令“.\web.cmd”,但我想自动创建该网站 运行使用 Powershell。
还有其他方法可以自动 运行 我的 asp.net 网络 api 吗?
.net核心版本
dnx-coreclr-win-arm.1.0.0-rc2-16357
命令
Microsoft.AspNet.Server.WebListener --server.urls=http://:5000/*
您可以使用schtasks.exe
来安排任务在系统启动时启动。
我在 pi2 上发布了一个网站 api,然后 运行 通过 Powershell 远程命令“.\web.cmd”,但我想自动创建该网站 运行使用 Powershell。
还有其他方法可以自动 运行 我的 asp.net 网络 api 吗?
.net核心版本
dnx-coreclr-win-arm.1.0.0-rc2-16357
命令
Microsoft.AspNet.Server.WebListener --server.urls=http://:5000/*
您可以使用schtasks.exe
来安排任务在系统启动时启动。