Deployments and TFS, general questions
Posted
by Velika
on Stack Overflow
See other posts from Stack Overflow
or by Velika
Published on 2010-04-06T17:36:44Z
Indexed on
2010/04/06
17:53 UTC
Read the original article
Hit count: 363
SOX requires that we have a separate group deploy our ASP.NET web to production.
Currently, that group has access to our current code repository in VSS and uses VSS to deploy code that has been checked into VSS.
How are deployments typically done for web applications?
As a developer, I have used the Deploy function in Visual Studio to deploy code to a network share which corresponds to a IS virtual folder, but I don't think we can expect that the deployment group will be purchasing a copy of Visual Studio just to do deployments.
We could check the code into TFS, but what is the minimum software that that group would need to perform the deployment? Would a Team Explorer Client Access suffice?
I am aware that Team System has functionality to automate the building of an application. Do people typically deploy to Production by copying aspx and dlls files from the QA environment to production or do you normally deploy from TFS or even VS directly? It seems to me that the preferred approach would be to deploy from the QA environment, since that is the environment that must have been approved for release or that those files should be checked into TFS and the deployed from TFS, assuming you can deploy from TFS.
What confuses me is whether bin (binary) files that are local to the project-do they go into TFS? Is so, doesn't this create problems for other developers in that only 1 developers-the one with the binary checked - can actually debug because debugging requires write access to the binaries? Does this mean that the binaries shouldn't be checked into TFS? But eventually, if you deploy from TFS, the binaries HAVE to be added to TFS. Are they added as a separate (compiled) application node? If so,m this sounds real ugly. I would assume not. How does one ensure that the binaries match the source code that we mark with a particular version number?
Obviously, I'm clueless. Can someone give me a general idea of how you handle version control and deployments in particular using TFS?
© Stack Overflow or respective owner