Do you avoid publishing from Visual Studio?
  v5.0 Posted at 19/09/2019 11:31 AM by Tiago Araujo

​Publishing from Visual Studio is a convenient way to deploy a web application, but it relies on a single developer’s machine which can lead to problems. Deploying to production should be easily repeatable, and able to be performed from different machines.

A better way to deploy is by using a defined Build in TFS.

Figure: Bad Example – Using Publish to deploy
Figure: Good Example – Queuing a new build to deploy your application
Figure: Best example – Use continuous integration to trigger your Continuous Deployment build

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: