简体   繁体   English

如何在Windows Azure中部署ASP.NET网站

[英]How to deploy an asp.net website in windows azure

I have a asp.net website that's in asp.net 2.0. 我有一个位于asp.net 2.0中的asp.net网站。 How to deploye in azure? 如何在天蓝色部署?

You question is very vague due to the fact that now there are three way you can deploy your ASP.NET website to Windows Azure. 由于现在可以通过三种方式将ASP.NET网站部署到Windows Azure,因此您的问题非常模糊。 :

  1. Windows Azure Web Sites: Windows Azure网站:

    This is in preview phase and released very recently. 这是在预览阶段,并于最近发布。 You can create a free website by signing up to Windows Azure Preview and create upto 10 free shared websites using the information provided below: 您可以通过注册Windows Azure预览来创建免费网站,并使用以下信息创建最多10个免费共享网站:

    Deploying an ASP.NET Web Application to a Windows Azure Web Site and SQL Database 将ASP.NET Web应用程序部署到Windows Azure网站和SQL数据库

  2. Windows Azure Virtual Machine: Windows Azure虚拟机:

    In this method you create your own Virtual Machine with IIS and then deploy your ASP.NET application directly to it. 使用这种方法,您可以使用IIS创建自己的虚拟机,然后将ASP.NET应用程序直接部署到该虚拟机。 The Virtual Machine is persisted so anything you will deploy to your virtual machine will persist. 虚拟机是持久性的,因此部署到虚拟机的任何内容都将持久化。

    Create a Virtual Machine Running Windows Server 2008 R2 创建运行Windows Server 2008 R2的虚拟机

  3. Windows Azure Web Role Windows Azure Web角色

    This is the PaaS based Windows Azure Cloud service where you can deploy to your application directly to Windows Azure cloud using Windows Azure SDK as described below: 这是基于PaaS的Windows Azure云服务,您可以在其中使用Windows Azure SDK将应用程序直接部署到Windows Azure云中,如下所述:

    Deploying an ASP.NET Web Application to a Windows Azure Cloud Service and SQL Database 将ASP.NET Web应用程序部署到Windows Azure云服务和SQL数据库

As there is lot of information above and you might be overwhelm, I would suggest just stick with the option #1. 由于上面有很多信息,您可能不知所措,我建议您坚持使用选项#1。 Signup for Windows Azure Preview and create your "Windows Azure Website" and start from there. 注册Windows Azure Preview并创建“ Windows Azure网站”,然后从此处开始。

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

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