views:

419

answers:

3

Currently I build my websites on my machine, deploy them to a test machine to see if they still work there and then have to request the sysadmin to deploy them to the qa/production servers.
Time after time that what should be my moment of pride is killed by some deployment procedure that was misunderstood, forgotten or not documented.
Currently the sysadmin copies the files from the dev server to whatever server he sees fit and tries to follow my deploymentProcedures.txt.

Is there no mechanism I can use that makes this transition as frictionless as possible? Things I can think of now are

  • Set the connectionstring to production DB
  • Set CustomErrors to On
  • Check if the correct I/O rights are given to the running account
  • Make sure the needed COM objects are available

Something that can make the deployment fase easier for people who are not the programmers.

+2  A: 

Have you thought about using a web deployment project?

http://weblogs.asp.net/scottgu/archive/2008/01/28/vs-2008-web-deployment-project-support-released.aspx

Andrew

REA_ANDREW
No, I will look into it. Do you have any experience with it?
borisCallens
Not really, but another option is discussed in this question also: http://stackoverflow.com/questions/578918/using-vs-2008-web-deployment-projects-with-asp-net-mvc
REA_ANDREW
A: 

If your application is just being created by you or a team over which you have some control, You should gun for CI (Continuous Integration). There are many free products in out there which Cruise Control .NET is something which might help you.

Khaja Minhajuddin
That would be nice indeed. But I haven't been able to convince my collegues unit tests are not a waste of time, I fear CI is out of the leage.
borisCallens
A: 

You should try following solutions:

FinalBuilder (www.finalbuilder.com) for build management and build distribution through shared folder.

InstallAce (www.installace.com) for dev team to package build contents and for you/support team to deploy build package contents on Web Farm etc.

You may also try some less costly tools to generate MSI packages directly or through WIX. You may get list of all good automated installation softwares at wikipedia (http://en.wikipedia.org/wiki/Continuous%5Fintegration) that I refer for such info.

Cruise Control is a free solution that is also widely used by .Net community.

Mark Ringer