开发者

Wcf proxy generation on windows mobile application

开发者 https://www.devze.com 2023-01-12 23:22 出处:网络
For my mobile app, I used the Add Web References to generate the client proxy to interact with my WCF service.

For my mobile app, I used the Add Web References to generate the client proxy to interact with my WCF service.

Then I read somewhere there is an equivalent of SvcUtil for compact framework: NetCFSvcUtil.

Should I b开发者_如何学JAVAe using the NetCFSvcUtil instead of going throught the Add Web References? Or the Add Web References uses NetCFSvcUtil in the background?

Any pros/cons of one or the other?


Add web reference should be old proxy based on ASMX web services whereas NetCFSvcUtil is tool to generate WCF based proxy. For basic web services there is generally no difference - both will work but if you want to use some advanced WCF features available on CF you will have to use NetCFSvcUtil.

0

精彩评论

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