如何使用 Visual Studio 2010 将网站(Web 表单)发布到 Azure

How to Publish Website (Web Forms) to Azure using Visual Studio 2010

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

大量文档可用。例如,一种方法是使用 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.

参考文献: