Windows Azure is a Silverlight based software, and its development portal is now a new one. All of its information, all operations can be done in one page. Use this new portal, from configuring the guest operating system to stopping or restarting a service, almost on one page, to get everything done. If we now migrate existing Web applications or ASP.net MVC Web applications into the cloud, we need to add cloud services to existing Web applications or ASP.net MVC Web applications.
We have a solution for a Web application, as follows:
Now right-click on the solution and add a new project in the same solution. Select the Windows Azure project from the installed templates and choose ASP.net Web role.
do not select any role in the Role Selection window and click OK. As shown in the following figure,
Now, in Solution Explorer, you can see that the Windows Azure Project has been added to this solution.
After creating the Windows Azure Project, we need to associate the ASP.net Web Application project to window Azure. To do this, right-click the "Roles" node in the Windows Azure Project, select "Add" and select the "We Project in Solution" option.
Then you will see this project in the solution. Click "OK"
When you click OK, Visual Studio updates the Csdef and cscfg files for this web role.
Now add some references to Windows Azure. To do this, right-click on the Web Application project and choose Add References. Then add the following references.
In this way, you can add a cloud service project to an existing Web application.
Original name: Windows Azure for Developers task 2:adding Cloud Service Project to existing asp.net Web creator Author: Dhananjay Kumar
"This article is 51CTO selected translations, reproduced please indicate the source!" 】
"Edit Recommendation"
Microsoft announces cloud computing Platform Azure toll model details Cloud computing is meant to be long term, Microsoft Cloud Computing Services Windows Azure has enabled technical dialysis: Windows Azure Platform Framework with Microsoft Windows Azure Platform Technology Analytics Approaching Microsoft Cloud: SQL Server to Azure data synchronization when Microsoft Azure encounters Amazon EC2: five key differences Windows Azure cloud computing platform adds five features cloud future bright azure users break 31000 How to deploy an application to Windows In Azure
"Responsible editor: Wang Yong TEL: (010) 68476606"
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.