Azure

Deploying the Correspondence Distributor to Azure is easy. Fork the open-source repository. Then configure an Azure Web Site to deploy from your fork of the source code. Create a new SQL Azure database to host your data.

Fork the repository

Go to https://github.com/michaellperry/CorrespondenceDistributor/tree/production. If you do not already have a GitHub account, please sign up for one. A free account is sufficient. Click the Fork button to create a fork of the repository.

Create an Azure Web Site

Go to https://windowsazure.com. If you do not already have an account, sign up for one. Then from the portal, create a new Web Site. Use the Custom Create option.

Enter the name of your web site. Select the option to create a new free database. Enter the connection string name "Correspondence". Check the box to publish from source control.

On the next page, select the option to create a new SQL database server. Provide a user name and password for the new server.

Next choose GitHub as the location of your repository. When you click the next button, you will be asked to log in to GitHub. Select your CorrespondenceDistributor repository, and enter "production" as the branch to deploy.

Now you can use the address of your own distributor in HTTPConfigurationProvider.cs. Set the address to "http://mycorrespondencedistributor.azurewebsites.net", and the API key to "Correspondence".