如何使用visual studio 2010将网站(Web窗体)发布到Azure

时间:2015-09-16 06:04:47

标签: visual-studio-2010 azure webforms

如何在azure上发布您的网站。我使用VS 2010在Web窗体中开发了我的网站,我想在azure上发布它。

1 个答案:

答案 0 :(得分:2)

有大量文档可供使用。例如,一种方法是使用Azure管理门户UI:

Example:

1. Go to the management portal for Windows Azure (WindowsAzure.com).

2. Create a new web site (see below).

3. Click on the web site to manage and configure it.

4. The manage and configure (dashboard) page is as below.

5. Focus on the quick glance section. Go ahead and create the deployment
   credentials (orange highlight). You will have to provide user name and password.

6. Copy the FTP Hostname and paste it in windows explorer (black
   highlight). In the pop-up window provide the user name and password
   for deployment. Note: the user name has to be given as “DOMAIN\USER”.        
   The DOMAIN is the web site name that you gave in step 4 above. In my 
   case it’s “TestAzureWS\phani_tpk”. (see blue highlight).

7. Folder navigation -> Click on Site, then click on wwwroot.

8. Copy the contents from step 2 above to this folder.

参考文献: