Before you install and use Windows Azure HelloWorld Sample you must:

  1. Review the Windows Azure HelloWorld Sample license terms by clicking the Custom link above.
  2. Print and retain a copy of the license terms for your records.

By downloading and using the Windows Azure HelloWorld Sample, you agree to such license terms.  If you do not accept them, do not use the software.


The HelloWorld sample demonstrates how to create a simple ASP.NET web role that can be deployed to Windows Azure. The Diagnostics module is imported into the sample and is ready to collect the default diagnostic data. The default data that is collected is the Windows Azure logs and Windows Azure Diagnostic infrastructure logs. For more information, see Collecting Logging Data by Using Windows Azure Diagnostics.
For more information about getting started, see Windows Azure.


You must install the Windows Azure Software Development Kit (SDK) 1.3 or later to run the HelloWorld sample. You can get the latest version at Windows Azure SDK Downloads.
The HelloWorld sample is configured by default to use the Windows Azure Storage Emulator, which is included in the SDK. The following XML code is included in the ServiceDefintion.csdef file:
   <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"  
      value="UseDevelopmentStorage=true" /> 
If you want to use Windows Azure storage, you must use the following value:
   <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" 
      value="DefaultEndpointsProtocol=https;AccountName=AccountName;AccountKey=AccountKey" /> 
You must replace the AccountName and AccountKey with the values from your storage account. For more information about using storage, see Windows Azure Storage.

Building and Running the Sample

  1. Open Visual Studio 2010 as an administrator.
  2. Browse to the folder where you extracted the samples, then browse to the HelloWorld folder.
  3. Open HelloWorld.sln.
  4. Press F6 to build the application from Visual Studio.  
  5. Press F5 to debug the application. When you debug or run the application from Visual
    Studio, the following actions are performed:
    1. The application is packaged.
    2. The Windows Azure Compute Emulator is started.
    3. The application package is deployed to the Compute Emulator
    4. The browser displays the default web page defined by the web role.