.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> Azure >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Adding Cloud Service project to existing ASP.Net Web Application

Posted By:Dhananjay Kumar       Posted Date: February 10, 2011    Points: 75    Category: Azure    URL: http://www.dotnetspark.com  

We need to add cloud service to existing Web Application or ASP.Net MVC Web Application lets learn with the help of this article to Add Cloud Service project to existing ASP.Net Web Application
 

Imagine we are moving existing Web Application or ASP.Net MVC Web Application to cloud. In that case we need to add cloud service to existing Web Application or ASP.Net MVC Web Application.
We have a solution for Web Application is 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, Windows Azure project is being added.

4.gif

After creating Windows Azure project we need to associate 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 below references.

7.gif

In this way you have added cloud service project to existing  Web application.
 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend