Interfacing an application running on a Windows server to an application running on a Linux server

Andy Brown
Andy Brown used Ask the Experts™
on
We are looking into writing a basic service on a Windows server that takes a text string and sends it to a service running on a Linux server.  The Linux server then needs to call another local application, take the response from that application and send a text string back to the Windows server.  

I've not done this before (although I'm fairly comfortable with C#), but could really do with a good starting point on the Linux side of things.  For example, are there any services built into Linux that would facilitate this (or third party products etc)?

In short - I just need a bit of guidance to start off with.,=
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
John TsioumprisSoftware & Systems Engineer

Commented:
I guess the starting point would be .NET Core ...For the Windows platform it should be to create a Windows Service and for Linux a daemon
Andy BrownDeveloper

Author

Commented:
Thank you John.  

So, we could create both services in .Net and deploy one onto the Windows server and one onto the Linux server - would that be correct?
John TsioumprisSoftware & Systems Engineer

Commented:
Well not exactly....don't believe the advertisements...:)....lets say that you can have a big chunk of common code...
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Andy BrownDeveloper

Author

Commented:
LOL - Fair enough John - I think I'll pass this onto someone else....
Fractional CTO
Distinguished Expert 2018
Commented:
You've described a simple API service, which will run on your Linux machine.

Your Windows or any other OS client will simply call your API + get back a JSON payload which can easily be decoded in any language.

Try searching GitHub for API examples. Lots of code to borrow from there.
Andy BrownDeveloper

Author

Commented:
I'm going to take a look through GitHub (just out of curiosity), but I have a friend who has experience in this field who is hopefully going to do it for me.

Thank you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial