简体   繁体   English

在Windows Azure管理门户上托管Mutitenant应用程序

[英]Hosting Mutitenant Application on Windows Azure Management Portal

I have gone through the Lab AdvancedWebAndWorkerRoles which you have provided in the latest training kit WAPTK. 我已经通过了Lab AdvancedWebAndWorkerRoles实验室,您在最新的培训工具包WAPTK中提供了该实验室。 I followed the steps in Exercise 1:registering sites,Applications and Virtual directories .It is running fine in windows azure emulator(locally),but i cannot find any steps to host in the windows azure management portal. 我按照练习1:注册站点,应用程序和虚拟目录中的步骤进行操作。它在Windows Azure模拟器(本地)中运行良好,但是我找不到在Windows Azure管理门户中托管的任何步骤。

Can any one suggest(steps) how to host the same application in the windows azure management portal? 谁能建议(步骤)如何在Windows Azure管理门户中托管同一应用程序?


We know how to deploy applications in windows azure portal.As i had mentioned in my question about the Exercise 1:registering sites,Applications and Virtual directories in the training kit WAPTK ,we want to create the similar application and host in the azure.The steps to host the Exercise 1 application in management portal is not mentioned in the training kit.We tried to host the application in windows azure portal but it is not working as the ServiceDefinition.csdef include some different configurations.We wanted to know the steps to host that application in management portal. 我们知道如何在Windows Azure门户中部署应用程序。正如我在关于练习1的问题中提到的:在培训工具包WAPTK中注册站点,应用程序和虚拟目录,我们想在Azure中创建类似的应用程序和主机。培训工具包中未提及在管理门户中托管练习1应用程序的步骤。我们试图在Windows Azure门户中托管该应用程序,但由于ServiceDefinition.csdef包含一些不同的配置,因此无法正常工作。我们想知道以下步骤:在管理门户中托管该应用程序。

Under the Introduction to Windows Azure lab, look at Exercise 3: Publishing a Windows Azure Application . 在“ Windows Azure简介实验室”下,查看练习3:发布Windows Azure应用程序 This shows how to publish via the portal. 这显示了如何通过门户发布。 The basic steps: 基本步骤:

  • Build your Windows Azure service in Visual Studio, but tell it not to publish. 在Visual Studio中构建Windows Azure服务,但告诉它不要发布。 Just generate the package file and configuration file. 只需生成软件包文件和配置文件。
  • Create a new hosted service. 创建一个新的托管服务。 This gets a name like myapp.cloudapp.net . 这将获得类似于myapp.cloudapp.net的名称。 You'll need to find a unique DNS prefix. 您需要找到唯一的DNS前缀。
  • Select the generated package file and configuration file, from the portal, which results in your service being launched. 从门户中选择生成的软件包文件和配置文件,这将启动您的服务。 This takes a few minutes, and you can watch its status via the portal. 这需要几分钟,您可以通过门户网站查看其状态。

You may also publish directly from Visual Studio. 您也可以直接从Visual Studio发布。 See this MSDN article for instructions on setting up Visual Studio correctly (which basically imports your publishing settings from the portal). 请参阅此MSDN文章,以获取有关正确设置Visual Studio(基本上是从门户导入发布设置)的说明。 Visual Studio can perform all of the steps without having you to actually do anything in the portal (aside from exporting your publish settings). Visual Studio可以执行所有步骤,而无需您在门户中实际进行任何操作(除了导出发布设置)。

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

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