C# communication between two applications

Hi i was wondering if there is any way to have 2 different programs and have them (for a lack of a better term) talk to each other in C#.

I guess it would be kind of like a client and server type of interaction, i fire a method in the client application and it tells the server application to do something.

Sorry if i'm not very clear on what i'm saying.
Who is Participating?
Fernando SotoConnect With a Mentor RetiredCommented:
Hi Anthony408;

There are a couple of ways of doing this - Have a look at the following articles.

Using .Net Remoting
.NET Remoting with an easy example

Two-way Remoting with Callbacks and Events, Explained

Using Shared Memory:
Interprocess Communication using Shared Memory

Using Named Pipes
Inter-Process Communication in .NET Using Named Pipes, Part 1

Using WCF - .Net Framework 3.X
A Windows Communication Foundation (WCF) Overview

wht1986Connect With a Mentor Commented:
couple of ways to skin that cat

1. .NET remoting - great if everything is managed .NET applications
2. TCP/IP sockets
3. Message Queuing
4. WCF services (Havent played with these much yet)

I would suggest looking into .NET remoting
Anthony408Author Commented:
Hey FernandoSoto and wht1986,

Thank you guys a lot, i haven't tried these yet but they look promising.

Thanks you both very much :D
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.