We want to have two .NET apps running on the same machine communicate with each other. We want three projects. A library containing interfaces. A "server" app that implements the interfaces and "client" app that communicates with the server using the interfaces. We do not want the client to reference the server.
We have a test app that does this with remoting but recently discovered that remoting is being replaced with WCF. Since this is new development we feel we should use WCF but we haven't managed to make it work with WCF and were wondering if it is possible?
EDIT:
Sorry for my lack of detail above but I didn't have access to any code at the time. I am working with two other people on this project and haven't looked closely at their IPC stuff. I know that they are currently of the opinion that WCF cannot do what they want it to do and I am hoping to be able to show them that it can.
I've started looking at my coworkers attempts at this and will continue to update this post as I understand it.
Below is a simplified version of their test code for remoting. They want to be able to do this using WCF but so far have been unable to get it to work.
- Lib\ IMessage.cs
- Lib\ IService.cs
- ServiceApp\ Service.cs
- ServiceApp\ ServiceMessage.cs
- ServiceApp\ ServiceProgram.cs
- ClientApp\ ClientProgram.cs
Both the ServiceApp and ClientApp assemblies reference the Lib assembly. They do not reference each other.
I will edit this again when I am better able to explain their attempt to replicate this behavior in WCF. At this point all I r