Windows Phone 7 - Available WCF bindings

半腔热情 提交于 2020-01-13 17:06:38

问题


I've been looking for documentation on the WCF Bindings supported by WP7 for a while and can't seem to find it. Can someone post a link to any documentation available they find. If it's from Microsoft (MSDN) even better.

Thanks...


回答1:


Search is your friend, even on MSDN ;)

UPDATE: Bing is also a good search tool. First result for +wp7 +wcf +supported +bindings gives this article: What is not supported in WCF for Windows Phone?




回答2:


I failed at finding a list on MSDN, so I just went through all of the bindings and looked at the supported frameworks.

WP7

  • BasicHttpBinding (7.0)

SL:

  • BasicHttpBinding (3)
  • PollingDuplexBinding (5)



回答3:


You should take a look here for some reference. I would strongly recommend using basicHttpBinding for services that you want to access from Windows Phone 7, since you might encounter some problems with others (e.g. wsHttpBinding is not supported).




回答4:


Microsoft OData is easy to implement and its REST



来源:https://stackoverflow.com/questions/4888358/windows-phone-7-available-wcf-bindings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!