I’m sure there has to be an easy way to do this, maybe I’m making more work for myself than I need to. I’m trying to set up cross system communications in a way that I can have bi-directional communication between objects, I imagine it would be something like this.
public interface ISharedResource public class SharedResourceHost : ISharedResource //<- slave process SharedResourceHost resource = new SharedResourceHost('http://192.168.1.102/HostedResources/Process1'); resource.Invoke('SomeMethod');
is there anything like this? I don’t wanna have to pull teeth setting up web services etc but if I have to I will.
You should check WCF. It is far too big to explain here but this article should give you some pointers.
http://msdn.microsoft.com/pt-br/library/bb907581.aspx
WCF allows you to set up interfaces in which two objects can communicate using a protocol of your choice.