阅读背景:

如何将WCF服务提升为Azure云服务?

来源:互联网 

I have an existing WCF service, and a Cloud Service setup in Azure to host it. Currently we are logging into the remote desktop, finding E\sitesroot

I have an existing WCF service, and a Cloud Service setup in Azure to host it. Currently we are logging into the remote desktop, finding E\sitesroot\0 and copy\pasting our built code, and then recycling IIS.

我有一个现有的WCF服务,以及Azure中的云服务设置来托管它。目前我们正在登录远程桌面,找到E \ sitesroot \ 0并复制\粘贴我们构建的代码,然后回收IIS。

When I publish other WCF services to a cloud service, using Visual Studio I can right click the project and choose "Publish to Microsoft Azure...", but for this project I do not have that option. I think this is because those other projects are setup as a Web Role, where my problem project above doesnt seem to have that delegation.

当我将其他WCF服务发布到云服务时,使用Visual Studio我可以右键单击该项目并选择“发布到Microsoft Azure ...”,但是对于这个项目,我没有这个选项。我认为这是因为那些其他项目被设置为Web角色,我上面的问题项目似乎没有那个委托。

What do I need to do to allow me to publish this thing properly, I have a feeling we're doing it wrong and it may cause me grief some time in the future.

我需要做些什么来让我正确地发布这个东西,我感觉我们做错了,这可能会让我在将来的某个时候感到悲伤。

1 个解决方案

#1


0  

The following Microsoft Azure MSDN article seems to address your scenario:
https://msdn.microsoft.com/en-us/library/azure/hh420322.aspx

以下Microsoft Azure MSDN文章似乎解决了您的方案:https://msdn.microsoft.com/en-us/library/azure/hh420322.aspx

In summary, you need to:

总之,您需要:

  • Enable a web application for deployment to Azure by opening the shortcut menu for a web project in your solution and choose Add Azure Deployment Project
  • 通过打开解决方案中的Web项目的快捷菜单,启用Web应用程序以部署到Azure,然后选择“添加Azure部署项目”

  • Publish your web application to Azure by opening the shortcut menu for the web project and choose Publish to Azure
  • 通过打开Web项目的快捷菜单并选择“发布到Azure”,将Web应用程序发布到Azure


and copy\pasting our built code, and then recycling IIS.I have an existing WCF service, and a Cloud Ser




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: