Dear Managed newsgroups moderators:
I have a universal MSDN subscription. I was under the impression that
queries posted to these managed newsgroups would receive answers in a few
days? I vaguely recall another thread/post that mentions the e-mail address
of the poster has to match the universal subscription records. Not sure if
my Passport (MS Live) account uses the e-mail address of my universal
subscription; perhaps that explains the lack of response to my post? Any help
you can send my way, so that my questions are addressed quickly, would be
greatly appreciated.
--
Bill Hertzing
Tools Development
TeaLeaf Technology, Inc.
[quoted text, click to view] "Bill Hertzing" wrote:
> Still new to remoting, but I've been trying to figure this one out for weeks.
> Pls recommend appropriate newsgroup is this one is not.
>
> I want a long running wellknown Server application to accept method calls
> from a Client. The Client is also a long-running application. I want the
> Client to register a wellknown server of it's own. I'd like the Client to
> pass to the Server (via a method call on the Server's remote object) the URL
> of the Client's server. Then I'd like the Server to locally activate the
> Client's server, and hence be able to make method calls back to the Client.
> This would provide strongly typed bi-directional communications, and
> eventing, between the Client and the Server. The Server would be able to
> maintain a collection of these Clients, each with it's own URL, and
> communicate with each of them.
>
> Setting up the basic Server and Client and making method calls from the
> Client to the Server's wellknown remote object is no problem. I can make the
> Client register its own WellKnown remote object. I can even pass to a Server
> method the URL of the Client's own server.
>
> But I cannot compile a program that allows the Server to make method calls
> on the Client's own server object. The Client must include in it's references
> the assembly that holds the Server's remote Object. As soon as I try to add,
> to the Server project, a reference to the Client project (so the Server can
> see the metadata about the Client's remote object), Visual Studio complains
> that adding this referece would create a circular dependency , and refuses to
> allow me to add the Client project.
>
> I've tried splitting the parts of the code into seperate projects (hence
> assemblies), into interfaces, all kinds of things. I always end up at some
> point with the circular reference error message, and can make no more
> progress.
>
> Not sure if this is a problem with my understanding of remoting, or is an
> issue with Visual Studio (VS2005). Thanks in advance for any ideas or links
> to similar work.
>
>
> ---
> Bill Hertzing
> Tools Development