Deploying Azure Project To The Cloud
In this post I’ll explain the steps required to host a cloud service in the cloud…
Step 1: Creating the project on Azure Services Developer Portal
In order to host the asp.net cloud application I created in the previous post, I should login into Windows Azure Services Developer Portal. Because I created cloud service, I have to choose a new Hosted Service Project.
I’ll give a label and description to the service:
And give it a name…
Finally, we have a project.
Note: the Application ID will be needed in order to package and publish the application from Visual Studio.
Step 2: Deploying from Visual Studio to the Cloud
In Visual Studio we have to open the properties window of the cloud service. There is a tab called Portal.
To make sure the correct web page on the Azure portal is opened, we should paste the Application ID from the previous step.
Now, we can publish it to the cloud!
Choosing the Publish action opens up the folder in which the application has been packaged and opens up the browser with the application properties page.
Selecting the Deploy button will open the Deployment page – there we can locate both the package file (.cspkg) and the configuration settings file (.cscfg).
After clicking Deploy – the application deployed to the cloud and initialized.
Now we can test it on a staging environment by clicking the Web Site URL. When the application is ready to be published to production just press the switch icon to move from staging to production.
You can navigate to the cloud app: https://maorsblog.cloudapp.net/Default.aspx
Enjoy!
Comments
Anonymous
February 22, 2009
In my previous post I explained how to deploy Windows Azure to the cloud. Many readers asked me for theAnonymous
February 23, 2009
Creare un progetto di Windows Azure passo per passoAnonymous
February 23, 2009
Sul blog di maor sono disponibili una serie di post che spiegano come creare e pubblicare un progettoAnonymous
June 25, 2009
Thanks for the post - it was very helpful! I have a couple of questions though:
- Application ID? I do not have a section labeled "Live Services and Active Directory Federation" in my Azure control panel. I'm not clear where I would find my "Application ID" as I couldn't find it anywhere else. I'd be glad to email a screenshot for you to see.
- Deployment Without Application ID I was able to deploy my site (simple splash page at the moment) without setting my "Application ID" in the CloudService's project settings. What advantage does setting the Application give me in this case? Thanks in advance. -- Danny