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 http://www.azure.com for that.

Setup the development environment

Download and install the following from http://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


Comments (4)

  1. Olav Tollefsen fra Microsoft Norge er på PDC og har nylig blogget litt om hvordan du kommer i gang med

  2. How to create and Publish your first Windows Azure application

  3. GoAzure says:

    Get the advantages of Windows Azure and Marketing benefits from Microsoft for FREE by joining the Microsoft Front Runner for Azure (in the US) (or the Green Light Program outside the US) to access one-on-one technical support by phone or e-mail from our developer experts, who can help get your applications in the cloud. Once your application is compatible, you’ll get a range of marketing benefits to help you.

    To join…

    In the US visit http://frontrunner.msdev.com/whyjoin/windowsazure.aspx

    Outside the US visit https://www.isvappcompat.com/Home/Start

Skip to main content