Deploy to Azure button

The Deploy to Azure button takes the sting out of deployment. Just click the button and the wizard will guide you through the process. How to set this up?

I’ve got my ASPNET MVC4 project in github. Every builds local. First I’ll try the process by supplying the repository in the querystring:

https://azuredeploy.net?repository=your_repository_here

Browsing to the URL triggers the build and deploy of the project in the repository. But the deployment fails with little to no details (Git deployment failed)

azure_deploy_fail

In the azure portal the details of the failure are logged. Seems a framework issue that failed the build.

azure_deploy_fail2

Azure websites are framework 3.5 or 4.5. Setting the framework of the project to .NET 4.5 and doing a nuget upgrade fixed the build and the deployment completed with no more issues.

About erictummers

My work as a recruited developer changes almost every month. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Development and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s