SIGN UP MEMBER LOGIN:    
ARTICLE

Adding Cloud Service project to existing ASP.Net Web Application

Posted by Dhananjay Kumar Articles | Cloud Computing February 10, 2011
When adding cloud service to an existing Web Application or ASP.Net MVC Web Application, learn how with the help of this article.
Reader Level:

Imagine that we are moving an existing Web Application or ASP.Net MVC Web Application to cloud. In that case we need to add cloud service to an existing Web Application or ASP.Net MVC Web Application.

We have a solution for Web Application as below.

1.gif

Now right click on the solution and add a new project in the same solution. Choose Windows Azure project from the installed template and then choose a ASP.Net Web Role.

2.gif

In role selecting window do not select any role and click on Ok. See the image below.

3.gif

Now you can see in solution explorer that a Windows Azure project is being added.

4.gif

After creating a Windows Azure project we need to associate an ASP.Net Web Application project to Window Azure. So to do so, right click on Roles in Windows Azure Project and select add and then choose Web Role Project in solution option.

5.gif

Then you will get the project in the solution. Press ok.

6.gif

On clicking of Ok, Visual studio will update csdef and cscfg file for the Web Role.

Now add the references of required windows azure. For that click on web Application project and add references.  Then add the following references.

7.gif

In this way you have added a cloud service project to an existing Web application.

Login to add your contents and source code to this article
share this article :
post comment
 
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
Team Foundation Server Hosting
Become a Sponsor