我创建在Visual Studio 2015年的ASP.net核心的Web应用程序,并以为我会看到活动的工作正在进行中。如何在Windows 10物联网设备上部署Asp.net Core?
的行动是采取我的树莓派3的地方,在运行Windows 10物联网,accessable上192.168.1.200:8080
(通过我的浏览器)。
然而,当我试图通过Visual Studio部署到它,我得到一个错误:
Could not connect to the remote computer ("192.168.1.200"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Mangement Service") is started.
所以我检查,如果Web Management Service
正在运行:
是的。
然后我试图添加端口:
Could not complete the request to remote agent URL 'https://*:8080/msdeploy.axd?site=MySite'. The underlying connection was closed: An unexpected error occurred on a send.
那么,它会尝试连接到一个https
连接,这意味着证书... 我需要吗? 如果我这样做,我想OpenSSL会是什么,我需要......
你有什么可能是错有什么建议?
Web部署是不是出了什么包含在Windows 10物联网版的一部分。 Windows 10物联网用于运行通用应用程序,而不是任意可执行文件,并且不包含供您使用的网络服务器。您可能有更好的运气部署到您的设备上运行的一些基于Linux的操作系统。 – mason
另外,做一个网络搜索。我发现一些教程只是Google搜索而已。您必须通过PowerShell获取适当的ARM包,并将该站点作为自托管应用运行,而不是将其放入IIS中。 – mason