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

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.,=
Andy BrownDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

John TsioumprisSoftware & Systems EngineerCommented:
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 BrownDeveloperAuthor 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 EngineerCommented:
Well not exactly....don't believe the advertisements...:)....lets say that you can have a big chunk of common code...
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

Andy BrownDeveloperAuthor Commented:
LOL - Fair enough John - I think I'll pass this onto someone else....
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andy BrownDeveloperAuthor 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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.