Previous Topic Next topic Print topic


To Configure a Service and Storage for Microsoft Azure

  1. Run Visual Studio as administrator.
  2. Open the solution for your COBOL application, and open the main project for the service.
  3. In Solution Explorer, expand Roles and double-click the role you want to configure.
  4. In the properties for the role, go to the Settings page.
  5. Specify the connection information you require.

    For example, for local development, the AzureBookDemo sample uses:

    • Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString is set to UseDevelopmentStorage=true
    • DataConnectionString is set to UseDevelopmentStorage=true

    When you have tested locally and you publish to Microsoft Azure, instead of using local development storage, you need to specify the storage credentials on Microsoft Azure in the Cloud Service Configuration for each role: your account name and key, connection endpoints and so on. You are given a key when you create your Microsoft Azure account. See the Microsoft Microsoft Azure Help for details, which explains the configuration differences between a development system and a live Microsoft Azure system.

Previous Topic Next topic Print topic