开发者

Which WCF services can you add a service reference to in WP7 Mango?

开发者 https://www.devze.com 2023-03-31 17:52 出处:网络
Just need to know when adding a service reference to a WCF service in a mango silverlight project which types of WCF service开发者_JS百科s (webHttpBinding, WSBinding etc) will visual studio generate a

Just need to know when adding a service reference to a WCF service in a mango silverlight project which types of WCF service开发者_JS百科s (webHttpBinding, WSBinding etc) will visual studio generate a proxy for automatically?


The supported standard bindings are basicHttpBinding - with security mode of either None, Transport or TransportWithMessageCredentials (for username/password over HTTPS), or customBinding. The binding element supported are username/password security, binary/text encodings and http/https transports. You can actually use wsHttpBinding as well, if you disable message security and reliable messaging (it's roughly equivalent to a custom binding with text encoding + http transport).

Ah, and to be able to add a service reference, you'll need to enable metadata on the service (it's the default on the VS templates).

0

精彩评论

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

关注公众号