I have a WPF application that I want to connect to Linux / Mac. The most logical way is to split the application into two parts: client and server, as well as use Silverlight for the client user interface and launch the server part (in the form of an invisible console application) in Mono.
But what is the best way to report these two parts? Silverlight 4 supports COM interoperability, but I cannot use it because it does not work in Moonlight. So I was thinking about a socket connection with localhost and used JSON or something like that. Or is there a better way that does not require me to write dozens of wrappers for the entire function contained in server-dll? Because there will be a connection between Mono <> Moonlight, maybe I can use something similar, like COM interoperability, which is cross-platform?
source
share