How do I realize communication between two processes in Compact Framework 3.5
what is the best way to realize a communication between 2 processes? And how do I exchange Objects between both? I hoped that I can use something like WCF netNamedPipeBindin开发者_如何学运维g, in my understanding this is a way to realize something like this in the normal Framework but it looks like this is not implemented in the Compact framework 3.5 WCF?!
Can someone please give me a hint?
Thank you
twickl
You can pass objects between 2 processes in .Net CF using a WCF Service. However you can only use basicHttpBinding (but you can overcome that by using a SSL connection) and also to generate a WSDL proxy for the WCF service you cannot use the desktop version (SvcUtil.exe), you'll have to use NetCfSvcUtil.exe
http://blogs.msdn.com/b/andrewarnottms/archive/2007/09/13/calling-wcf-services-from-netcf-3-5-using-compact-wcf-and-netcfsvcutil-exe.aspx
Hope that helps.
Use plain Socket with a custom protocol.
精彩评论