Communication between 2 windows from application

后端 未结 4 1482
隐瞒了意图╮
隐瞒了意图╮ 2021-01-06 13:53

I have 2 windows form application. 1st application interacts with database while other application is aimed to communicate with the 1st application to interact with the data

相关标签:
4条回答
  • 2021-01-06 14:38

    Here is a good example using WCF to communicate two processes:

    http://www.switchonthecode.com/tutorials/wcf-tutorial-basic-interprocess-communication

    0 讨论(0)
  • 2021-01-06 14:47

    Use WCF with netnamedpipe binding as @I4V recommends. Other alternatives are use Pipes, Remoting, or fileshare.

    0 讨论(0)
  • 2021-01-06 14:55

    Another option is ZeroMQ C# binding:

    http://www.zeromq.org/bindings:clr

    0 讨论(0)
  • 2021-01-06 14:56

    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.

    0 讨论(0)
提交回复
热议问题