在Windows Azure上部署WCF服务 [英] Deploying WCF Service on Windows Azure

查看:167
本文介绍了在Windows Azure上部署WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是为了澄清我的工作是第一次与湛蓝。我与SQL Server的连接创建一个RESTful WCF服务在几个月前。我部署WCF在IIS与SQL Server的防爆preSS 2012的数据库服务的工作,没有任何问题。

Just to clarify I am working for the first time with azure. I created a Restful WCF Service a few months ago with SQL Server connection. I deployed the WCF on IIS with the database on SQL Server Express 2012. The service works with no problems.

[OperationContract]
[WebGet(UriTemplate = "feed/{ID}/{Rating}/{Feed}", ResponseFormat = WebMessageFormat.Json)]
string feed(string ID, string Rating, string Feed);

现在我必须继续前进WCF服务天青。问题是我不知道如何部署WCF天青,如果它甚至有可能部署WCF天青。该数据库已被转移到Azure上。

Now I must move the WCF service to Azure. The problem is I have no idea how to deploy the WCF to azure and if it is even possible to deploy the WCF to azure. The database have been moved to azure.

推荐答案

主要是相对容易取决于你是否想要一个Azure的网站或云中的作用 - 云......

The principal is relatively easy depending on whether you want a Azure WebSite or Cloud Role - for Cloud...

  • 确保您有从WebPlatform中安装程序安装在Azure SDK。
  • 添加一个WCF云服务中的作用,以你的项目
  • 展开了项目,然后右键单击到角色节点中选择添加,然后从您的解决方案现有的项目。
  • 在使用Azure的凭据发布的作用。

这两篇文章提供了一个终端到终端的教程,进入更深入...

These two articles provide an end-to-end tutorial that goes into more depth...

  • <一个href="http://www.claudiobernasconi.ch/2013/08/03/deploying-a-wcf-service-on-windows-azure/">http://www.claudiobernasconi.ch/2013/08/03/deploying-a-wcf-service-on-windows-azure/
  • <一个href="http://blogs.msdn.com/b/nishasingh/archive/2012/12/05/creating-and-deploying-a-wcf-service-on-windows-azure-and-consuming-it-in-windows-8-store-app.aspx">http://blogs.msdn.com/b/nishasingh/archive/2012/12/05/creating-and-deploying-a-wcf-service-on-windows-azure-and-consuming-it-in-windows-8-store-app.aspx
  • http://www.claudiobernasconi.ch/2013/08/03/deploying-a-wcf-service-on-windows-azure/
  • http://blogs.msdn.com/b/nishasingh/archive/2012/12/05/creating-and-deploying-a-wcf-service-on-windows-azure-and-consuming-it-in-windows-8-store-app.aspx

通过这一个更具体的Azure的网站

With this one more specific to Azure Websites

  • <一个href="http://blogs.msdn.com/b/brunoterkaly/archive/2014/03/31/moving-a-wcf-service-and-database-to-the-cloud.aspx">http://blogs.msdn.com/b/brunoterkaly/archive/2014/03/31/moving-a-wcf-service-and-database-to-the-cloud.aspx

心连心

这篇关于在Windows Azure上部署WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆