3 out of 3 rated this helpful - Rate this topic

How to: Configure a Windows Azure Project with Visual Studio

You can configure a Windows Azure project, depending on your requirements for that project. You can set properties for the project for the following categories:

  • Publish an application to Windows Azure

    You can set a property to make sure that an existing deployment in Windows Azure is not accidentally deleted.

  • Run or debug an application on the local computer

    You can select a service configuration to use and indicate if you want to start the Windows Azure storage emulator.

  • Validate a service package when it is created

    You can decide to treat any warnings as errors so that you can make sure that the service package will deploy without any issues. This reduces your wait time when you deploy and then discover that a failure occurred.

The following illustration shows how to select a service configuration to use when you run or debug your application locally. You can set any of the project properties that you require from this window, as shown in the illustration.

Configure a Windows Azure Project

To Configure a Windows Azure Project

  1. To configure a Windows Azure project from Solution Explorer, open the shortcut menu for the Windows Azure project and then choose Properties.

    A page with the name of the Windows Azure project is displayed in the Visual Studio editor.

  2. Choose the Development tab

  3. To make sure that you do not accidentally delete an existing deployment in Windows Azure, in the Prompt before deleting an existing deployment list choose True.

  4. To select the service configuration that you want to use when you run or debug your application locally, in the Service configuration list choose the service configuration.

    noteNote
    If you want to create a service configuration to use, see How to: Manage Service Configurations and Profiles. If you want to modify a service configuration for a role, see How to: Configure the Roles for a Windows Azure Application with Visual Studio.

  5. To start the Windows Azure storage emulator when you run or debug your application locally, in the Start Windows Azure storage emulator choose True.

  6. To make sure that you cannot publish if there are package validation errors, in Treat warnings as errors choose True.

  7. To save any changes that you have made to the properties of the Windows Azure project, choose the Save button on the toolbar.

See Also

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.
facebook page visit twitter rss feed newsletter