Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Authors

Getting Started with Windows Azure

Getting Started with Windows Azure - Part 2: Developing your first Windows Azure Application

Apr 4 2013 12:00AM by Karthikeyan Anbarasan   

Introduction:

In this article we are going to see how to develop the application from Microsoft Visual Studio 2012 IDE with Windows Azure capability to the cloud services. Before proceeding further, please have a look at our previous article, which explains the Windows Azure and Cloud Terminologies to get a clear understanding and advantages of Cloud platform on which best suits your requirement.

Steps:

Open Visual Studio 2012 IDE in administrator mode (Note to open in admin mode as Windows Azure requires to run the application in Administrator mode else it will throw an error) and select File from the menu to create a New Project as shown in the screen below:

New project

We can see a list of available templates, as we are going to develop the application for Windows Azure let us proceed with selecting the Cloud template with Visual C# as the base. Click on the Cloud menu and we can see a template, which says “Get Windows Azure SDK for .NET” as shown in the screen below:

cloud template

This indicates that some of the necessary SDKs are not installed in the development machine, so let us first install the Windows Azure SDKs to design and develop the application with Microsoft Visual Studio 2012 IDE. First, let us install the SDK, go to http://www.windowsazure.com/en-us/develop/net/?slideshow=5 and click on Install the SDK as shown in the screen below:

install SDK

Clicking on Install the SDK will show a pop up requesting to select the IDE, which we are going to install, it will show Visual Studio 2010 with SP1 or Visual Studio 2012 IDE as shown in the screen below:

install SDK

Now we can see Web Platform Installer 4.0 is opened with the requested package SDK that we selected to install the Windows Azure SDK for .Net (VS2012) as shown in the screen below. Just Click on Install option to install the components that are required on the base location or click on options to change some parameters if required:

install option

Clicking on install will download the necessary packages from the Microsoft center and start installing to the Visual Studio 2012 environment, which will be listed one by one in the downloading, and installing status as shown in the screen below:

installing status

Once the required software are installed we can see the installed application list from the web installer as shown in the screen below. Just keep a note of the same in case in future, if we need to uninstall the SDK this list will be of much use.

installed application list

Now go back to the Visual Studio 2012 IDE and Create a new project for Windows Azure in administrator mode and we can see the template available as shown in the screen below:

create a new project

Clicking on OK button will open a window to select the different role (Basically we need to select Web Role for a Web Application) as shown in the screen below. Different roles provide different option to develop the application and deploy on to the cloud as a service.

new windows azure cloud service

Again click on OK and we can see the project files are created and listed in the solution explorer of the project. Actually we can see 2 project created with different set of files, one project is the traditional web application which has the website supportive files and the other is the Cloud project which has the configuration that are required to run the application on to the Windows Azure Cloud environment as shown in the screen below:

![Windows Azure Cloud environment[11]

So to design and develop the traditional application go ahead with WebRole1 project and create your own pages and stuffs that best suits the requirement of the web application that need to be hosted on to the cloud environment. Let us assume that the development is over and we want to integrate the cloud needs to run the application. To do that go to the Part2Sample cloud project and open ServiceDefinition.csdef configuration file and configure the end points as shown in the screen below:

service definition

At the same time open ServiceConfiguration.Cloud.cscfg configuration file we can set the instances count start from 1 to the maximum as per our requirement as shown in the screen below:

service configuration

Conclusion:

So in this article we have seen how to start with our development and designing the application to run on the cloud. We will see in detail step-by-step approach on deploying the application to the Windows Azure environment in upcoming articles.


Karthikeyan Anbarasan
52 · 4% · 1176
0
Liked



Submit

Your Comment


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]