托管Web服务/ WCF服务? [英] Hosting Web Service/WCF Service?
问题描述
我是新来的Windows Azure和我想我的部署Web应用程序到Windows Azure。
在我的应用程序我使用了一些网络服务,现在我想知道我怎么可以建立他们在Windows Azure中,包括在我的web应用程序的Web引用?
I'm new to Windows Azure and I'm trying to deploy my web application to Windows Azure. In my app I used some web services, now I would like to know how can I build them in windows azure and include that web reference in my web app?
有些教程说,我要导入我当前的Web服务为一体的云服务项目为WebRole但在我的网络文件夹serivce,没有的csproj文件。
Some tutorials said that I have to import my current web service into a Cloud Service Project as a WebRole but in my web serivce folder, there's no csproj file.
谢谢!
推荐答案
我发现我只需要创建一个新的窗口Azure项目
并添加 WCF服务Web角色
,复制旧的Web服务我的旧文件(可能改变一点点,如果它是ASMX),那么承载它以同样的方式作为Web应用程序。瞧,现在一切是确定:)
I found out that I just have to create a new Window Azure Project
and add a WCF Service Web Role
, copy my old files in the old Web Service (maybe change a little bit if it's ASMX) then host it the same way as web application. And voila, everything is ok now :)
这篇关于托管Web服务/ WCF服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!