Wcf proxy generation on windows mobile application

天大地大妈咪最大 提交于 2019-12-25 04:42:18

问题


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 be 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?


回答1:


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.



来源:https://stackoverflow.com/questions/3550922/wcf-proxy-generation-on-windows-mobile-application

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