Continuous Delivery to IIS or Windows Azure Web Sites

Maarten Balliauw

Deployment pipeline in TeamCityDeploying ASP.NET applications can be done in a multitude of ways. Some build the application on a workstation and then xcopy it over to the target server. Some use a build server, download the artifacts, change the configuration files and xcopy those over to the server. The issue with that is something bad creeps in: deployments become unpredictable.

Using the premise of Continuous Delivery, we can make deployments predictable. Automating all the steps will ensure that deployments can always be done and reproduced, ideally by going through a pipeline of environments.

TeamCity may have been developed with Continuous Integration in mind, it also comes with all features required for doing Continuous Deployment!

Head over to our tutorial about Continuous Delivery to IIS or Windows Azure Web Sites and see for yourself. We’ll go over the basics of deployments for ASP.NET applications and see how we can deploy an ASP.NET MVC project to IIS or Windows Azure Web Sites from our TeamCity server by promoting our CI build to development, staging and production.

Are you already deploying with TeamCity? Or would you like to? Where to? Let us know!

Happy deploying!

Comments below can no longer be edited.

3 Responses to Continuous Delivery to IIS or Windows Azure Web Sites

  1. Robert whitelock says:

    April 8, 2014

    In the tutorial it mentions about pinning builds using the api.

    At what part would you a pin a build , each step or the last part of the chain

    • Maarten Balliauw says:

      April 9, 2014

      Hi Robert,

      As pinning is meant to be used to prevent a build from being removed during cleanup, it really depends on your workflow. In the example outlined in the tutorial, I would probably pin the CI builds that are promoted to any of the target environments. It could be useful to also pin the deployments as well, because those are the actual binaries that are in production and they can be used to do troubleshooting if needed. It would be a shame if a cleanup removed those binaries, right?

      Hope this helps,

      • Robert Whitelock says:

        April 29, 2014

        That you that clears things up.

        I guess the only issue would be disk space.



Subscribe for updates