Would WCF work through normal USB connection or does it require WIFI when using the Mobile Device as a WCF client to a WCF service running on the PC? Thanks
I would think that it wouldn't work over the USB connection because the USB is not a network connection. Unless you are referring to some kind of USB ethernet adapter, and not a USB cable plugged directly from your mobile to your computer, then you are most likely out of luck in this regard.
Did you mean over usb via activesync, or just over USB in general?
I have consumed RESTFul WCF services on WM6 devices over usb/activesync. The activesync connection gives you a network connection that supports TCP. Use the host name 'ppp_peer' if you want to address the host pc you are connected to.
I use ActiveSync and resolve the hostname "dtpt_peer" which maps to 169.254.2.2, the IP assigned by the CF device to the desktop peer, and then use WCF via TCP.