What is the best way to pass data from one .NET application to another at run-time?
Basically I need to transfer a 10-100 kilobytes of data in a few minutes from one app to another (locally) and get response for this action.
Ideally – ability to sign on events in another app, and ability to call methods of classes in another app.
Thanks!
Since you’re doing this in .NET, I’d strongly recommend looking into Windows Communication Foundation.
It will take care of the infrastructure (and have the benefit of allowing you to easily reconfigure to not require the two apps to be local, if your requirements change).
“Passing data” will be very obvious once you start reading up on WCF. Here is an article describing how to handle callbacks and events in WCF, as well.