如何使用xcopy将mvc5项目部署到远程服务器 [英] How can I deploy mvc5 project to remote server using xcopy

查看:94
本文介绍了如何使用xcopy将mvc5项目部署到远程服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望使用xcopy将mvc5项目部署到远程服务器。

但是我不知道该怎么做。

我在google搜索并发现一些问题,但是我不知道。

一篇帖子是http://www.go4expert.com/articles/configure-deploy-website-using-aspnet-t30200/。我在这篇文章中从未找到'互联网服务经理'选项。

我尝试在vs2013中打开网站,但我找不到远程站点项目。

请帮助我如何部署或引导我到一些有用的网站。

I wish to deploy mvc5 project to remote server using xcopy.
But I don't know how to do.
I am googling and find some issues, but I don't know about it.
One post is http://www.go4expert.com/articles/configure-deploy-website-using-aspnet-t30200/. I never find "‘Internet Services Manager’ option" in this post.
And I try to open web site in vs2013, but I can not find "Remote Site" item in it.
Please help me how to deploy or lead me to some useful site.

推荐答案

将网站发布到您网站上的文件夹(Build-> Publish并选择文件系统)。这将把运行该网站所需的所有内容放在该文件夹中。使用Web主机注册,他们将允许您访问远程服务器上的文件夹,通常是通过FTP。将您发布的文件夹的内容复制到主机站点。



负责该站点,如果您有数据库,则需要关注主机有关如何将数据库部署到其服务器的说明,这些说明因主机而异。
Publish the site to a folder on your website (Build->Publish and select File system). That will put everything in that folder needed to run that website. Sign up with a web host and they'll give you access to a folder on their remote server, normally via FTP. Copy the contents of the folder you published to to the host site.

That takes care of the site, if you have a database you'll need to follow the host's instructions on how you deploy a database to their server, that differs from host to host.


这篇关于如何使用xcopy将mvc5项目部署到远程服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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