问题
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