Source versioning and continuous integration with Git and TFS

In the Deploying a Website recipe, we saw how to deploy a Website directly through FTP or Web Deploy. Those strategies are very fast and effective; however, they are not always suitable in complex scenarios because of the following reasons:

  • Developers cannot have direct access to the final endpoint or they should not even know what the final endpoint is
  • Automated builds/tests should be performed after each release and check in, centrally controlled on a specified server

These two scenarios involve new actors while deploying Websites; in addition to the Developer and the Website, now there is also the source repository. In this recipe, we see how to invert the process:

  • From:
    • Developer upgrades/updates ...

Get Microsoft Azure Development Cookbook Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.