简体   繁体   English

如何在Windows Azure上部署网站(不是Web应用程序)

[英]How to deploy web site (not web app) on windows azure

I want to deploy a website (not web app) on windows azure http://www.windowsazure.com/en-us/develop/net/tutorials/get-started/ this link guide about deployment of web apps not website 我想在Windows Azure上部署网站(非Web应用程序) http://www.windowsazure.com/en-us/develop/net/tutorials/get-started/此链接指南有关Web应用程序而非网站的部署

I have already created website using Visual Studio 2010 and want to deploy same using visual studio 我已经使用Visual Studio 2010创建了网站,并希望使用Visual Studio部署该网站

You can use WebDeploy or FTP based publishing method as described below: 您可以使用基于WebDeploy或FTP的发布方法,如下所述:

How to use Web Deploy and FTP publishing from VS 2010 against Windows Azure Websites (Without using Azure SDK) 如何针对Windows Azure网站使用VS 2010中的Web Deploy和FTP发布(不使用Azure SDK)

You can also publish using Git, as detailed in this article 您还可以使用Git进行发布,如本文所述

The advantage of using Git for deployment is the continuous deployment aspect via BitBucket, Github or CodePlex. 使用Git进行部署的优点是可以通过BitBucket,Github或CodePlex进行连续部署。 Create your Git repository in Bitbucket (for example - allows for private repositories, so you can use it even if your site is not Open Source, unlike Github), link it to your Azure account and then push the code to Bitbucket. 在Bitbucket中创建Git存储库(例如-允许使用私有存储库,因此即使您的站点不是开源的,也可以像Github一样使用它),将其链接到Azure帐户,然后将代码推送到Bitbucket。 Azure will then automatically deploy the site for you. 然后,Azure将自动为您部署该站点。

Once you install the tools from the link you provided, you will get the same experience for Website project as you have for Web App Project. 通过提供的链接安装工具后,将获得与Web App Project相同的Website项目体验。

Follow these steps: 跟着这些步骤:

  1. Download Web publish updates 下载Web发布更新
  2. Import your Azure Websites with publish profile 导入具有发布配置文件的Azure网站
  3. Click publish 点击发布

FYI you can also get the updates from the ASP.NET 2012.2 updates http://weblogs.asp.net/scottgu/archive/2013/02/18/announcing-release-of-asp-net-and-web-tools-2012-2-update.aspx . 仅供参考,您还可以从ASP.NET 2012.2更新中获取更新http://weblogs.asp.net/scottgu/archive/2013/02/18/announcing-release-of-asp-net-and-web-tools- 2012-2-update.aspx These will also be included in VS Update 2 once it is released. 一旦发布,这些也将包含在VS Update 2中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM