如何部署网站从Visual Studio 2013年至Godaddy.com

编程入门 行业动态 更新时间:2024-10-13 22:19:05
本文介绍了如何部署网站从Visual Studio 2013年至Godaddy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我要寻找与 Web部署工具 Visual Studio中使用Web 2013 godaddy 作为主机提供商。我买主机空间和链接域名到主机空间。

I am looking for help with the Web Deploy tool in Visual Studio for Web 2013 using godaddy as the host provider. I bought hosting space and linked a domain name to that hosting space.

我有一个 Web表单解决方案,我在 Visual Studio创建的Web 2013 并想现在使用的 Web部署工具来部署我的ASP.NET网站,整个万维网看到这个虚拟主机空间。该解决方案还拥有一个小型的数据库,我也想上创建虚拟主机空间。

I have a web forms solution I created in Visual Studio for Web 2013 and would like to now use the web deploy tool to deploy my ASP.NET website to this hosting space for the whole world wide web to see. This solution also has a small database, which I would also like to create on that hosting space.

我感到困惑正是在服务器,网​​站名称的字段中输入,和目标网址在 Web部署工具。

What I am confused about is what exactly to enter in the fields of the Server, Site name, and Destination URL in web deploy tool.

想象一下,我的网站被称为awesomewebsite和我的用户名是awesomedude', [问题1] 我应该怎样进入这些领域上面?

Imagine that my website is called 'awesomewebsite' and my username is 'awesomedude', [Question 1] what should I enter into those fields above?

另外,之前我网​​络部署我的网站,我注意到在我的文件的一些示例网站文件的 godaddy 。 [问题2] 我应该删除所有在的httpdocs / 文件夹中的文件和文件夹?

Also, before I web deploy my website, I noticed there are some sample website files in my files folder on godaddy. [Question 2] Should I delete all the files and folders in the httpdocs/ folder?

正如我前面提到的,我在Visual Studio解决方案有通过增加一个 SQL Server数据库我在Visual Studio中做了一个数据库连接。我想复制上 godaddy 该数据库。 【问题3】我怎么能 Database2.mdf 和我在一起?

As I mentioned before, my solution in Visual Studio has a database connection I made in Visual Studio by adding a SQL Server Database. I want to replicate that database on godaddy. [Question 3] How can I take Database2.mdf with me?

[问题四] 最后,如果我想对我的数据库结构变化,今后应该怎么做,在Visual Studio解决方案?还是有另一种方式来做到这一点?

[Question 4] Finally, if I want to make structural changes to my database in the future, should I do that in the Visual Studio solution? Or is there another way to do that?

推荐答案

我通过进入网站并域在godaddy的解决了这个问题并没有下载Web部署文件的选项。你只是然后导入Web上的配置文件,如我的问题上面显示和它的作品发布屏幕!所以,你不必亲自填写所有领域,godaddy的会为你。

I solved this problem by going into Websites and Domains in godaddy and there is an option to download the web deploy file. You just then import the profile on the Web Publish screen as shown above in my question and it works! So you don't have to fill out all the fields yourself, godaddy does it for you.

更多推荐

如何部署网站从Visual Studio 2013年至Godaddy.com

本文发布于:2023-11-02 03:53:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1551295.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网站   Visual   Studio   Godaddy   年至

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!