ARTICLE

Creating a "Hello world" application in Azure

Posted by Reeta Singh Lodhi Articles | Windows Azure March 01, 2011
In this article we will see how to create a "Hello World!!!" application in Azure using .Net. I used Visual Studio 2010 along with the Azure SDK 1.3 installed. Start Visual Studio and select a new project. In the cloud template select Windows Azure Cloud Service.
Reader Level:
Download Files:
 


In this article we will see how to create a "Hello World!!!" application in Azure using .Net. I used Visual Studio 2010 along with the Azure SDK 1.3 installed. Start Visual Studio and select a new project. In the cloud template select Windows Azure Cloud Service.

WinAzure1.gif

Once you click OK, it asks for selecting a Role. Here we are adding an ASP.Net Web role.

WinAzure2.gif

It will create two projects, CloudService1 (Azure Service Project) and WebRole1 (ASP.Net Project). The Azure service project is used to configure the application, and to create a deployment package. The ASP.Net project is like a normal web project.

WinAzure3.gif

Here I removed header div from the SiteMaster.

WinAzure4.gif

And add a text "Hello World!!!!" in the default.aspx

WinAzure5.gif

And we are done. Now Select Cloud Service as your startup project and run it. When you run it, the Azure simulation environment is initialized, and it starts development storage and development fabric.

WinAzure6.gif

And here you can see your Hello World!!!

WinAzure7.gif

If you select WebRole1 as your startup project and run the solution, it will run as a normal ASP.Net project and hosted locally on localhost.

If you click on the Azure Simulation and select "Show development Fabric UI" then it will show the Azure services running on your machine.

WinAzure8.gif

Here My CloudService1 is running having a single instance of WebRole.

WinAzure9.gif


  

Login to add your contents and source code to this article
post comment
     

Nice Article...

Posted by Gobi G Jun 27, 2011

Thanks Kayleigh. Thanks Sutish. In my next article we will see how to deploy it in Azure.

Posted by Reeta Singh Lodhi Mar 01, 2011

Welcome, for your first article. Keep posting. Its nice to see lots of "Hello World of Cloud Computing" articles from our members.

Posted by Suthish Nair Mar 01, 2011

Nice Article...

Posted by Kayleigh Mar 01, 2011
COMMENT USING
PREMIUM SPONSORS
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
Join a Chapter
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Get Career Advice from Experts