Freigeben über


Deploying Windows Azure Websites using Dropbox

Introduction

If you want to keep track of your Website versions, easily switch between deployments but don’t want a more complicated version control system such Git or TFS, then this post is for you!

There are a lot of source control systems supported by Windows Azure, and Dropbox is just one of them.

 

image

Let’s start

Create a website as usual, then either select “Set up deployment from source control” while creating, or from the dashboard later.

When you do so, the dialog above (with the source control options) will show up.

 

image

Click on Dropbox, then sign in when the Authorization dialog pops up, login and authorize Windows Azure to connect with your Dropbox.

image image

Select an existing folder from your Dropbox or create a new one

image

Now on your desktop, copy the files you want to upload into your Dropbox folder

image

Go back to the portal, click on Sync

image

Windows Azure will now sync the changes and create a deployment

image

That’s it, your website is live.

image

Now make a change, and sync again, the new deployment will show up, and the old deployment will still be in the history.

image

You can very easily change between the versions by selecting the version you want and clicking on “Redeploy”.

image

Note: This post is cross posted to my new blog at https://sabbour.me/