Getting started with client & # 8594; server communication between two Windows applications. WCF?

I wrote an application that uses some of the serial devices directly and abstracted the serial commands into an object.

I would like to use this object remotely from another application on another machine on the network, but I'm not sure where to start. I have previously used TCP and composed some commands to send over the network to control the object, but it is just difficult to maintain and run and I feel like I am reinventing what I don't need.

I have looked at .net remoting but it seems that it is now legacy and is being replaced by WCF.

All the WCF examples I've found look like a replacement for a soapy webservice and seem a bit too laid back for what I need.

The object I am using has events that are fired when data is received over the serial port, and the web service running idle does not seem to match the count.

Can anyone point me in the right direction?

+2


source to share


1 answer


Yes, the WCF - the best choice, here you can find a huge db WCF examples



+2


source







All Articles