在asp.net的部署类型 [英] Types of deployment in asp.net

查看:118
本文介绍了在asp.net的部署类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪些类型的部署,我们在asp.net?

What are the types of deployment we have in asp.net?

到现在我在做什么?

我用它来发布自己的网站不是复制粘贴编译的文件到Inetpub文件夹[其中,我的网站配置了IIS]的文件夹中。我不知道这是什么样的部署,是XCOPY?但我没有使用任何命令行工具。

I use to publish my website in any folder than copy paste the compiled file to the inetpub folder [where my website is configured with the IIS]. I am not sure what kind of deployment this is, is it XCOPY? But I am not using any command line tool.

推荐答案

所以,你有以下几种选择

So you have the following options

Xcopy部署
编译您的asp.net应用程序和所有文件复制到你的服务器。您可以通过使用FTP或共享目录做到这一点。 (或其他任何东西来传输文件。)

xcopy deployment Compile your asp.net application and copy all the files to your server. You can do this by using FTP or shared directories. (Or anything else to transfer files.)

WebDeploy
你必须部署asp.net网页直接形成你的Visual Studio中的可能性。如果你去建立,并选择发布Web。为了能够做到这一点,你必须之前配置您的服务器。但是,这已经设置了一切后,自动工作。这是非常方便,因为您的部署变得容易重建。
<一href=\"http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx\" rel=\"nofollow\">http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx

Web安装 - 安装
Visual Studio中也提供了构建一个安装程序的选项。这种工作方式和安装向导在Windows计算机上安装软件照常。 (见链接)
<一href=\"http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx\" rel=\"nofollow\">http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx

管理多个服务器
也有管理多个服务器的部署的方式。这似乎是一个比较复杂一点,但可能是为专业人士有趣。 (看看在谷歌的微软Web场Framework 2.0中

这篇关于在asp.net的部署类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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