开发者

XABP and WCF wsHttpBinding

How开发者_运维知识库 can I use WCF wsHttpBinding on my WPF Browser application?


It works normally as it is on Windows application project and ASP.Net application. You just need to add ServiceReference to your xbap project pointing to your wcf service and Visual Studio will automatically generate the bindings (of wsHttpBinding type) and client endpoint pointing to your service on the app.config (xbap also uses app.config).

Then on your xbap page's codebehind, just do the usual coduing on consuming WCF services.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜