Reputation: 55
This is a general technologies question.
I am building a Media Player for a school project. It is written in C# and uses WPF for the interface. I am adding a service to it to maintain the database as the user makes changes to it. I also want it to contain the config class I built in a previous iteration which is the subject in the observer design pattern. However I have no idea what would be the best way to communicate between the service and the interface pieces of the application. I have seen many ways to do this and I would like some advice about which of the myriad .NET technologies for communicating between services/processes/etc you would recommend.
Upvotes: 1
Views: 258
Reputation: 70307
WCF is Microsoft's recommended way for applications to communicate.
EDIT: Heck, even if you weren't using .NET the Named Pipes, TCP, Web Service trillogy is still your default list.
Upvotes: 2