如何部署网站从Visual Studio 2013年至Godaddy.com [英] How to web deploy from Visual Studio 2013 to Godaddy.com

查看:697
本文介绍了如何部署网站从Visual Studio 2013年至Godaddy.com的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am looking for help with the Web Deploy tool in Visual Studio for Web 2013 using godaddy.com 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.com和我的用户名是awesomedude', [问题1] 我应该怎样进入这些领域上面?

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

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

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

正如我前面提到的,我在Visual Studio解决方案有通过增加一个 SQL Server数据库我在Visual Studio中做了一个数据库连接。我想复制上 godaddy.com 该数据库。 【问题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.com. [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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆