简体   繁体   English

将 .Net Core API 部署并运行到 FTP 服务器

[英]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.

相关问题 将 .NET Core Web API 部署到 IIS 服务器 - Deploying .NET Core Web API to IIS Server .NET Core API 在 Azure 上部署后无法正常工作 - .NET Core API not working after deploying on Azure 将.Net核心控制台应用程序部署到Debian服务器 - Deploying .Net core console application to Debian server 部署 .net core api AWS 无服务器应用程序后出现 403 Forbidden/500 内部服务器错误 - 403 Forbidden/500 Internal Server Error after deploying .net core api AWS Serverless application .NET Core 中的 FTP 客户端 - FTP client in .NET Core 部署.NET Core微服务 - Deploying .NET Core Microservices .Net Core API长时间运行的请求 - .Net Core api long running request 在 IIS 上启动 .NET Core Web API 时出错:“应用程序正在 IIS 进程内运行,但未配置为使用 IIS 服务器” - Error on starting .NET Core Web API on IIS: "Application is running inside IIS process but is not configured to use IIS server" .NET Core Web API 应用程序无法连接到在 Docker 上运行的 SQL 服务器 - .NET Core Web API Application cannot connect to SQL server running on Docker 在 .NET Core 中,如何向在本地服务器上运行的 API 发出 HTTP 请求(IIS Express 使用 VS 2019)? - In .NET Core, how do you make HTTP request to an API running on local server (IIS Express using VS 2019)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM