0

我和我的朋友正在一个 ASP.NET 支持的网站上进行合作。为了在本地开发它,我们使用 Visual Web Developer Express(足以满足我们的需求)。Subversion(使用 Tortoise SVN)是我们选择的源代码控制,其存储库位于 Unfuddle.com。

当我们需要更新实时站点时,我们会遇到问题——因为它没有版本控制。目前我们使用 VWD 中的“复制到网站”功能,该功能使用 FTP 复制文件。这里有一些问题:

  1. VWD 只跟踪一个用户上传的文件,因此如果另一个用户将文件的更新版本上传到实时站点,我这边的 VWD 无法判断文件的实时版本是更新的还是我的。
  2. 无法判断是否所有最新更改都在实时站点上可用。
  3. 我们必须注意不要在共享的 web.config 文件中到处乱搞,因为其他用户的本地数据库设置与我的不同,当然,实时数据库设置是另一回事!

你们用什么发布到实时网站?是否有任何东西与 Subversion 相关联,以便我们可以自动化该过程并始终保证实时站点与更改列表编号同步?另外,您如何管理不同的 web.config 文件设置?

谢谢!

4

1 回答 1

0

Well...

wait another 2 weeks and you have.... Visual Studio 2010. Lots of nice things for you:

Any subversion tie in? Sure - any CI server can do that. Point is, though: you dont want. Version Control != website publishing. You dont publish every checkin. In non-trivial non-playing-around setups, changes are done on development, then moved to a test server, thne possibly to an integration server and then finally to production. You dont publish "as you go".

于 2010-03-23T06:43:32.517 回答