views:

109

answers:

1

Hey there,

My friend and I are collaborating on a ASP.NET powered website. To develop it locally, we use Visual Web Developer Express (good enough for our needs). Subversion (using Tortoise SVN) is our source control of choice with the repository residing on Unfuddle.com.

We run into problems when we need to update the live site - since there's no version control on it. Currently we use the "Copy to Website" feature in VWD which copies the files using FTP. Here are some problems:

  1. VWD only keeps track of files uploaded by one user, so if the other user uploads a newer version of a file to the live site, VWD on my side cannot tell whether the live version of the file is newer or mine is.
  2. There's no way to tell whether all the latest changes are available on the live site.
  3. We have to be careful not to party all over the shared web.config file since the other user's local DB settings are different from mine, and of course, the live DB settings are a whole other story!

What do you guys use to publish to a live site? Does anything out there tie into Subversion so that we can automate the process and always guarantee that the live site is synced to a change list number? Also, how do you manage the different web.config file settings?

Thanks!

A: 

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".

TomTom
Thanks, looking forward to VS 2010.I see your point that we shouldn't be publishing as we go, but our needs are pretty simple, the app is simple and we just don't have the resources to have an intermediate test server. We basically want a way to determine exactly what changes are going up to production when we press that "publish" button.The changes in VS 2010 look promising - I'll read up on the links you provided. Thanks.
Alienfluid
No Resource? ;) I know people doing it on a laptop in the days of virtualization. I don take ANY team even remotely serious which does not ahve a test machine - get acheap pc, plug in an amd processor, stock up 8-16gb ram and there you go. The main problem with your approach is that you simply can not do ANYTHING nontrivial. Even a standard contact form should be tested for proper entries OUTSIDE live environment.
TomTom