Reputation: 141
I have 2 windows form applications. 1st application interacts with database while the other application is aimed to communicate with the 1st application to interact with the database. So how can I interact two applications with each other. Which tool should I use?
Upvotes: 3
Views: 10125
Reputation: 93
Another option is ZeroMQ C# binding:
http://www.zeromq.org/bindings:clr
Upvotes: 3
Reputation: 3131
Here is a good example using WCF to communicate two processes:
http://www.switchonthecode.com/tutorials/wcf-tutorial-basic-interprocess-communication
Upvotes: 4
Reputation: 89499
One option would be to use WCF named pipes (net.pipe) the other option would be Anonymous Pipes for Local Interprocess Communication
Excerpt:
Anonymous pipes offer less functionality than named pipes, but also require less overhead. You can use anonymous pipes to make interprocess communication on a local computer easier. You cannot use anonymous pipes for communication over a network.
Upvotes: 1
Reputation: 1269
Use WCF with netnamedpipe binding as @I4V recommends. Other alternatives are use Pipes, Remoting, or fileshare.
Upvotes: 0