How to: Host an Application on Windows Azure

You can deploy LightSwitch applications, such as web applications and three-tier desktop applications, to Windows Azure by using a wizard. You can also use SQL Azure databases to host application data.


You must have a subscription to Windows Azure to deploy an application to Windows Azure.

To publish an application to Windows Azure

  1. On the menu bar, choose Build, Publish ApplicationName.

    The LightSwitch Publish Application Wizard appears.

  2. On the Welcome to the LightSwitch Publish Wizard page, choose either the Desktop or Web option button, and then choose the Next button.

  3. On the Application Server Configuration page, choose the Enable Windows Azure Publishing option button.

    You will be redirected to a web page to download and install the Windows Azure SDK for .NET.

    Important noteImportant

    Visual Studio 2012 requires version 1.8.1 of the Azure SDK. You can download the correct version here: Windows Azure SDK for .NET - October 2012

    After you install the SDK, you must restart Visual Studio. Steps will be added to the LightSwitch Publish Application Wizard. For more information, see the documentation for the Windows Azure SDK for .NET.