是否有可能部署一个WCF服务,并从AZURE同一网站门户网站? [英] Is it possible to deploy a WCF service and a WebSite in the same WEBSITE PORTAL from AZURE?

查看:135
本文介绍了是否有可能部署一个WCF服务,并从AZURE同一网站门户网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我部署两个服务,其中一个是网站和另一种是WCF服务的桌面应用程序。

I' deploying two services, one of them is a website and the another is a WCF Service for desktop applications.

我有一个网站叫contoso2.azurewebsites.net和那个地方我把我的网站,而且我想我的部署WCF服务,问题是......我需要创建另一个网站服务部署在里面?或者,也可以是在同一个地方?

I have one web site called contoso2.azurewebsites.net and that place I place my web site, but also I would like to deploy my WCF service, the question is... I need to create another web site service to deploy in it? Or it can be in the same place?

推荐答案

我觉得你可以。如果你有一个ASP.NET Web应用程序,你可以添加一些.SVC文件WCF服务。他们将被部署为您的网站的一部分。然后你可以使用你的网站通过 http://contoso2.azurewebsites.net/ ,并通过使用Web服务,让我们说 http://contoso2.azurewebsites.net/api/ProductService.svc

I think you can. If you have an ASP.NET web application, you can add some .svc files for your WCF service. They will be deployed as part of your web site. Then you can use your website through http://contoso2.azurewebsites.net/ and use your web service through, let's say http://contoso2.azurewebsites.net/api/ProductService.svc

这篇关于是否有可能部署一个WCF服务,并从AZURE同一网站门户网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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