简体   繁体   English

如何在Godaddy的共享虚拟主机上发布Asp.Net核心MVC Web应用程序

[英]How to publish Asp.Net core MVC web application on Godaddy's shared web hosting

I have developed an asp.net core 2.1 web application with entity framework core. 我已经开发了具有实体框架核心的asp.net核心2.1 Web应用程序。 Now I would like to host the application on my Godaddy's shared web hosting account. 现在,我想在Godaddy的共享Web托管帐户上托管该应用程序。 I am trying this with FTP but it is not working. 我正在尝试使用FTP,但无法正常工作。 Does anyone has solution for this? 有人对此有解决方案吗?

Is there any error message that you see? 您是否看到任何错误消息? The following is steps to publish your application: 以下是发布应用程序的步骤:

  1. Please open your project with Visual Studio tool 请使用Visual Studio工具打开您的项目
  2. On the Solution Explorer windows (which is normally located on the top right hand corner of the VS tool), right click your project and select Publish 在“解决方案资源管理器”窗口(通常位于VS工具的右上角)上,右键单击您的项目,然后选择“发布”
  3. Please kindly publish it to a local folder, such as C:\\Project 请将其发布到本地文件夹,例如C:\\ Project
  4. Please just upload whatever files/folders you see on C:\\Project to the server via FTP and your site will work fine. 只需将您在C:\\ Project上看到的所有文件/文件夹通过FTP上传到服务器,您的站点就可以正常工作。

Important NOTE: 重要的提示:

If you are using Visual Studio 2015 or later version, the publishing step may look a bit different. 如果您使用的是Visual Studio 2015或更高版本,则发布步骤可能看起来有些不同。

  1. Please open your website project with Visual Studio 2015. They may have been a pre-set .NET version on your project. 请使用Visual Studio 2015打开您的网站项目。它们可能是您项目中的预设.NET版本。
  2. Then, please go to the Solution Explorer, Right Click the project and select "Publish Web App" website. 然后,请转到解决方案资源管理器,右键单击该项目,然后选择“发布Web应用程序”网站。 Please select "FTP" as the deployment method 请选择“ FTP”作为部署方法
  3. Please hit Publish 请点击发布

You can also read this documentation http://windows2008hosting.asphostportal.com/post/Cheap-ASPNET-MVC-3-Hosting-ASPHostPortal-How-to-Deploy-an-ASPNET-MVC-3-App-to-Web-Hosting-with-5cbin-Deployment.aspx . 您也可以阅读本文档http://windows2008hosting.asphostportal.com/post/Cheap-ASPNET-MVC-3-Hosting-ASPHostPortal-How-to-Deploy-an-ASPNET-MVC-3-App-to-Web- Hosting-with-5cbin-Deployment.aspx I use this tutorial to deploy my previous MVC. 我使用本教程来部署以前的MVC。 :) :)

From what I found on GoDaddy forums, do correct me if I'm wrong, GoDaddy doesn't support .NET Core on shared hosting yet. 根据我在GoDaddy论坛上发现的信息,如果我错了,请纠正我,GoDaddy在共享主机上尚不支持.NET Core。 I believe Plesk Onyx will support this (mine is still on Odin) and after a conversation with GoDaddy customer service, they don't have a date for the upgrade yet. 我相信Plesk Onyx将支持此功能(我的Odin仍在使用),在与GoDaddy客户服务进行了交谈之后,他们还没有升级日期。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将ASP.NET MVC Core应用程序的[部分]发布到Web主机 - Publishing [part] of ASP.NET MVC Core application to web host ASP.NET 核心 5 MVC web 应用程序 - 通过 xamarin 登录 - ASP.NET Core 5 MVC web application - Login via xamarin 如何在我的 asp.net MVC 核心 web 应用程序中表示问题/答案页面 - How to represent a Question/Answer page inside my asp.net MVC core web application 如何将您的 ASP.NET Core 3.1 MVC web 应用程序连接到 Active Directory? - How to connect your ASP.NET Core 3.1 MVC web application to Active Directory? 如何在 ASP.NET Core MVC 中使用现有的 web 服务? - How to consume an existing web service in ASP.NET Core MVC? 如何对 Asp.Net Core 2.2 MVC Web 应用程序进行基于 JWT 令牌的身份验证? - How to do JWT token based authentication for Asp.Net Core 2.2 MVC Web Application? 我如何在我的 asp.net MVC 核心 web 应用程序中引用 static 文件 - How i can reference static files inside my asp.net MVC core web application 在我的 asp.net 核心 MVC web 应用程序中,我如何使验证码成为必填字段 - Inside my asp.net core MVC web application how i can make the recaptcha a required field 如何在 hostgator linux 共享主机上安装 ASP.NET Core 应用程序? - How can I install ASP.NET Core application on a hostgator linux shared hosting? 如何将 ProcessModel 添加到 asp.net 核心 Web 应用程序 - How to add ProcessModel to an asp.net core web application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM