[英]Deploying and running .Net Core API to an FTP Server
i am developing a .Net Core Web Application (.Net Core) and have an FTP Server from a hoster.我正在开发一个 .Net Core Web 应用程序 (.Net Core) 并拥有来自主机的 FTP 服务器。 I think its a Linux Server.我认为它是一个 Linux 服务器。
I used the "publish" function of VS and deployed a newly created .Net Core App to the FTP Server.我使用了 VS 的“发布”功能,并将一个新创建的 .Net Core App 部署到 FTP 服务器上。
The files are there but i think the App is not running.文件在那里,但我认为应用程序没有运行。 If i click "Run" in VS it opens a website with "[value1, value2]".如果我在 VS 中单击“运行”,它会打开一个带有“[value1,value2]”的网站。 If i navigate to my FTP Url there is no response.如果我导航到我的 FTP 网址,则没有响应。 In my understanding i should get the same response than when starting the API via VS.据我了解,我应该得到与通过 VS 启动 API 时相同的响应。
How do i start or deployCorrectly a .Net Core API to a FTP Server?如何正确启动或部署 .Net Core API 到 FTP 服务器?
Thanks for any help!谢谢你的帮助!
You need IIS or other server that supports .net core.您需要 IIS 或其他支持 .net 核心的服务器。 The problem is that FTP is just like file storage.问题是 FTP 就像文件存储一样。 You can contact me if you need help with it.如果您需要帮助,可以联系我。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.