你用什么方法来部署ASP.Net应用程序到野外? [英] What method do you use to deploy ASP.Net applications to the wild?

查看:86
本文介绍了你用什么方法来部署ASP.Net应用程序到野外?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我们通过在本地发布网站,并通过电子邮件发送zip文件到系统管理员提供一个(通常)冗长的一套部署说明部署编译的ASP.Net应用程序。这是因为我们第一次部署一个ASP.Net应用到客户的开发和测试IIS实例都是一样的,我们无法两次部署站点在同一台机器。此设置部署基调上的所有后续项目。

Currently we deploy compiled ASP.Net applications by publishing the web site locally and emailing a zip file to the system administrator with a (usually) lengthy set of instructions for deployment. This is because the first time we deployed an ASP.Net application to a customer the dev and test IIS instance were the same, and we were unable to deploy the site twice to the same machine. This set the tone for deployment on all subsequent projects.

我现在评价我们的部署方法和我在内置的部署工具专门找;特别是我期待在​​自定义安装任务,并使用尽可能多的标准安装程序的功能,我可以(主要是用户界面)。

I am now evaluating our deployment methods and am looking specifically at the built in deployment tools; specifically I'm looking at custom installation tasks and using as much of the standard installer functionality as I can (mostly the user interface).

其次,我期待在合并部署和自动更新。

Secondly, I'm looking at merging deployments and automatic updates.

你怎么去在组织中部署sofware?你用什么工具,以及做什么的问题,你遇到过最频繁?

How do you go about deploying sofware in your organisation? What tools do you use, and what problems do you come across most frequently?

推荐答案

部署Web应用程序使用复制Web工具
微软培训工具包书基于Web的开发

文本
如果你是众多用户提供了一个Web应用程序(例如,允许人们从网上下载该应用程序并安装它)的Web安装项目是有用的。如果你是负责更新特定网站为您的组织,这是不切实际的登录到Web服务器并在每次进行更新时安装一个Windows安装程序包。对于内部应用程序,可以在Web服务器上直接编辑Web应用程序。但是,您所做的更改将立即在生产Web应用程序中实现,这包括可能存在的任何错误。为了使自己测试Web应用程序,您可以在计算机上编辑Web应用程序的本地副本,并发布更改使用复制网站工具生产Web服务器。您也可以使用复制Web工具发布从临时服务器更改到生产Web服务器,或任何两个Web服务器之间。复制网站的工具可以复制单个文件或整个网站或从源站点和远程Web站点。您也可以选择同步文件,其中涉及仅复制更改的文件和检测可能的版本冲突,其中源和远程站点都在同一个文件已分别进行编辑。复制网站工具不能合并在一个文件中的变化;只有完整的文件可以复制。

Deploy Web Applications Using the Copy Web Tool
Text from Microsoft Training Kit Book Web Based Development
Web Setup Projects are useful if you are providing a Web application to many users (for example, allowing people to download the application from the Web and install it). If you are responsible for updating a specific Web site for your organization, it’s impractical to log on to the Web server and install a Windows Installer package each time you make an update. For internal applications, you can edit the Web application directly on the Web server. However, changes you make are immediately implemented in your production Web application, and this includes any bugs that might be there. To enable yourself to test a Web application, you can edit a local copy of the Web application on your computer and publish changes to the production Web server using the Copy Web tool. You can also use the Copy Web tool to publish changes from a staging server to a production Web server, or between any two Web servers. The Copy Web tool can copy individual files or an entire Web site to or from a source Web site and a remote Web site. You can also choose to synchronize files, which involves copying only changed files and detecting possible versioning conflicts in which the same file on both the source and remote site have been separately edited. The Copy Web tool cannot merge changes within a single file; only complete files can be copied.

这篇关于你用什么方法来部署ASP.Net应用程序到野外?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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