1

我最近继承了一个当前运行的棕地应用程序。通过响应或带有链接的响应,如何以及什么是对站点进行更改并将其部署到实时 ASP .NET 网站的最佳方法。

4

3 回答 3

1

我总是先在我的盒子上开发。

我将进行测试,备份实时站点,然后通过 ftp 更新更新。

很简单,但我还没有遇到问题。

另外:我也正在运行 svn,并且在更新实时站点之前我会提交更改。这样我就有了两个备份:源代码控制和物理压缩备份。

于 2008-09-18T14:08:29.870 回答
0

Don't know if this will work for you, but we use the "Use fixed naming and single page assemblies" publish model of VS2005. We test locally, deploy to a dev server to test with the other developer's changes (there are only 2 of us), and then deploy to a temp directory on the live server. Then we RDP into the live server, backup the files we changed, and copy the new ones over in place.

Works really well, and we avoid paving each other's stuff this way. We tried deploying direct to the site using the built in deploy, but that removes the entire directories, deleting a whole bunch of static files we have within the IIS root folders.

于 2008-09-18T14:45:30.577 回答
0

我发现的最易于管理的方法是使用部署应用程序。Application Center 2000 相当不错,但不再受支持。新应用程序可在http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1602获得。它也适用于 COM 程序集。

于 2008-12-08T02:02:51.750 回答