What to use to make two transfers of .net programs

Currently, I have two programs that need to be exchanged with each other. It does not have to be anything complicated, just transferring data from one to another, everything is very simple. I was thinking about using .net remoting, but I heard a new WCF thing there. Should I go to a remote .net network or try WCF? Or is there something easier to use?

edit: Both applications are simple, I do not want to have anything to do with IIS, services, etc.

thanks

+4
source share
6 answers

The magic phrase is "interprocess communication." Then you can find the answers, for example.

+2
source

use WCF with binding of named pipes, here you can find useful examples

+5
source

WCF has a bit of a learning curve, but it is a very powerful communication medium. If you have time to learn it, I would recommend that you run .NET remotely.

If you just need a super-simple mechanism, you can simply write data to a file and then read it from another program (with the same computer). If it needs to cross the network, using a simple socket in .NET is not so bad.

+2
source

I used .Net for this in the past and it worked very well for me. It is very simple and understandable for what you are describing.

+1
source

If you look at WCF now, I really don't think you'll regret it later. WCF is great and useful for this purpose.

+1
source

If you need something really simple, just put the data in a database or file.

+1
source

All Articles