SALES: 1-800-867-1380

Publishing to Azure from Visual Studio

Updated: February 5, 2014

To publish an application to Azure, you must have one of the following types of applications:

  • Azure application

  • Web application

  • LightSwitch application (desktop or web) or service

If you have an Azure application, you can publish the application by using the Azure project.

If you have a web application, you must first migrate it to Azure by using Visual Studio, and then you can publish the application to 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 Azure.

You can test your Azure application in the local Azure emulation environment that is provided with the Azure tools. When your application is ready, you can publish your application to Azure. You can publish your application to Azure from within Visual Studio, or through the 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.

  • An Azure subscription

    Sign up for an Azure subscription at Azure Offers.

  • A cloud service

    Runs your roles within the Azure environment.

  • A storage account

    Provides access to the Azure blob, queue and table services.

  • Authentication credentials

    Used to authenticate requests to Azure.

Tasks

Use the following topics to help publish your application to Azure from Visual Studio:

 

Tasks Associated Topics

Migrate Your Web Application for Deployment to Azure: If you have a Web application, you must migrate your application and then you can publish it to Azure from Visual Studio.

Set Up Services for Your Azure Application:After you create your Microsoft account and you have an Azure subscription, you must sign into the 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 Azure application on virtual machines.

Publish Your Azure Application from Visual Studio: You can publish your Azure application to 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 Azure. You provide credentials by signing in to Azure, or by importing credentials from a subscription file.

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 Azure Applications: You can check the status of your Azure application using the Azure Compute Explorer in Server Explorer. To do this, you must provide credentials that Visual Studio can use to authenticate requests to Azure.

When your application is published to 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.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft