开发者

Hosting Web Service/WCF Service?

I'm new to Windows Azure and I'm trying to deploy my web application to Windows Azure开发者_如何学C. 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?

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.

Thanks!


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 :)


I think you should use a WebRole for a web service, but you can use a WorkerRole though.

Take a look on this:

http://www.devproconnections.com/article/windows-azure-platform3/Hosting-WCF-Services-on-Azure-101.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜