Publishing Cloud Services to Windows Azure from Visual Studio
To publish an application to Windows Azure, you must have one of the following types of applications:
Windows Azure application
LightSwitch application (desktop or web) or service
If you have a Windows Azure application, you can publish the application by using the Windows Azure project.
If you have a web application, you must first migrate it to Windows Azure by using Visual Studio, and then you can publish the application to Windows Azure.
If you have a LightSwitch application or service, you can publish it by using the wizard in LightSwitch. For more information, see How to: Publish a LightSwitch Application to Windows Azure.
You can test your Azure application in the local Windows Azure emulation environment that is provided with the Windows Azure tools. When your application is ready, you can publish your application to Windows Azure. You can publish your application to Windows Azure from within Visual Studio, or through the Windows Azure Platform Management Portal.
To publish your application from Visual Studio, you need to have the following items:
A Microsoft account
Sign up for a Microsoft account at Windows Live - Sign Up.
A Windows Azure subscription
Sign up for a Windows Azure subscription at Windows Azure Offers.
A cloud service
Runs your roles within the Windows Azure environment.
A storage account
Provides access to the Windows Azure blob, queue and table services.
Used to authenticate requests to Windows Azure.
Use the following topics to help publish your application to Windows Azure from Visual Studio:
Migrate Your Web Application for Deployment to Windows Azure: If you have a Web application, you must migrate your application and then you can publish it to Windows Azure from Visual Studio.
Set Up Services for Your Windows Azure Application:After you create your Microsoft account and you have a Windows Azure subscription, you must sign into the Windows Azure Management portal and create a storage account for your Azure application. Then you can modify your application to use these storage services.
You must also create a hosted service to use when you publish your application. This hosted service that you create is a container that is used to host your application by running the roles of your Windows Azure application on virtual machines.
Publish Your Windows Azure Application from Visual Studio: You can publish your Windows Azure application to Windows Azure directly from Visual Studio to either a staging or production environment. To do this, you must provide credentials that Visual Studio can use to authenticate requests to Windows Azure.
When you publish your application from Visual Studio, a service package is created and this package is used to deploy your application to a hosted service.
View and Monitor Your Published Windows Azure Applications: You can check the status of your Windows Azure application using the Windows Azure Compute Explorer in Server Explorer. To do this, you must provide credentials that Visual Studio can use to authenticate requests to Windows Azure.
When your application is published to Windows Azure, a version of the Windows Server operating system is provisioned to host your application’s roles. The version of the operating system depends on the version of the .NET Framework that your application targets. For more information see Managing Operating System and Framework Versions.