Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

    Advertisements
  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand
  • Advertisements

Creating a Web Role

Posted by Paul on October 14, 2011


In this article we are creating a web role using Visual Studio 2010. This will make the reader familiar with Windows Azure.

Open Visual Studio 2010 and use the command New Project. From the appearing dialog box select the Windows Azure Project option from Visual C# group.

clip_image002

Enter an appropriate name for the project and click Ok to continue. Now you will be prompted with another dialog for selecting the type of project.

Double click on the ASP.NET Web Role option to select a web role project and click Ok button.

clip_image004

Now you are ready with the Web Role project. Now execute the application and you will be able to see the application inside the browser. From the system tray, you can verify the Windows Azure Emulator as running.

If successfully executed, you can see the web role opened in a browser like below:

clip_image006


Exceptional Case 1

In case the emulator raised an error like below dialog, you have to restart Visual Studio in the Computer Administrator context.

clip_image008

Exceptional Case 2

In case you are struck with issue of Compute Emulator Shutdown issue, you can resolve it with the link

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s