I'm trying to accomplish the following situation. It's simple conceptually, I'm just not sure how I could do this or if it's even possible.
Let's say I have 4 projects
- WCF Service
- WCF Host (using my own host, just for testing)
- Console app A
- Console app B
Let's say I communicate with the WCF host using Console app A, let's say my service has a Ping method. What I want to do is when Console app A calls the ping method on my WCF service, Console app B will show that the Ping method was called (just a simple writeline to console will do). Essentially I want Console app B to show any communication that is happening in the WCF service, even if that communication is coming from a different .exe (Console app A).
Is this possible? I know I could have the WCF service do something like update a database and have Console app B poll the DB, but I don't want to do that. I'm looking for direct communication.
Can this be done?