C# to Linux Interoperability

  • Thread starter Thread starter Larry
  • Start date Start date
L

Larry

I'm interested in interfacing Linux applications from C#. Has anyone
done this before? My firm has a few linux applications and I'd like to
make the information available to new applications that I build in
managed code.
Any recommendations?
 
Hi,

Well it depends of how the linux apps can export the data, you could use
several approachs:

1- Using a TCP connection,
2- Using Samba in linux you can mount a shared drive from the Win machine,
the linux app could create a file what you can consume

It really all depends of how your Linux app can export the data


Cheers,
 
I use SOAP (XML via HTTP) messages for cross platform interop.

As far as Remoting is concerned, you might try Mono on Linux, but there is
no guarantee it will behave expectedly.

ok,
aq
 
The question is "interface".

Interface from what? From Windows? Because c# runs under Linux as well.

If you are talking server applications, then you can write web services
interfaces to send and receive the results of methods. At that point,
those applications are universally accessible from any client capable of
connecting to the server with http.

As far as development with c# on Linux:

http://www.go-mono.com

Install the mono packages and the monodevelop IDE.

The key question is the UI.

The Windows.Forms assembly is supported in mono/Linux ( mono also runs on
OSX by the way ), but up to a point...then you may want to consider a more
native Linux toolkit such as gtk#.
 
Back
Top