How to create and Publish your first Windows Azure application

Signup for a Windows Azure account

First you need to signup for a Windows Azure account and get an invitation code to setup the server.

Visit https://www.azure.com for that.

Setup the development environment

Download and install the following from https://www.microsoft.com/azure/sdk.mspx

Windows Azure SDK

Windows Azure Tools for Microsoft Visual Studio

Create a new Windows Azure "Web Cloud Service" project in Visual Studio 2008

image

Now write some simple code:

image

Build the solution:

image

Now we are ready to package it for publishing our application to Windows Azure:

image

The above step creates a couple of files for us:

image

Create a new project in the online Azure Services Developer Portal

Click on New Project and select Hosted Services:

image

Enter a name for the project

image '

Enter a name for your hosted service:

image

Deploy our application to the Windows Azure Cloud

image

Now we are ready to upload the files created by the Publish step from Visual Studio 208 earlier:

image

Select the application package file:

image

And then the Configuration file:

 

image 

Our application is now uploaded to the Windows Azure Cloud:

image

The Application is first deployed to a Staging environment:

image 

Start the Application in the Staging Environment

We can now Run the Application:

image

The Application is now ready to be tested in the Staging environment:

image 

Test the Application in the Staging Environment

This is the Application running from the Windows Azure Cloud Staging environment:

image

Wow! The application is available on the Internet and is working!

Deploy the application into Production

Now click on the image with the arrow to deploy the Application into the Production environment:

image

The application is now up and running into the Windows Azure Cloud production environment!

image