Home All Groups Group Topic Archive Search About

Remoting - Callback

Author
12 Jan 2005 4:45 AM
Mike Peretz
I am trying to use callbacks within my remote object. I was able to do it,
however I had to publish the client as well known server and a singleton. So
I am not sure how the server will callback multiple clients. So is there a
way to have callbacks work without publishing the client as a wellknown
service?

Author
12 Jan 2005 11:05 AM
Dmitriy Lapshin [C# / .NET MVP]
Mike,

Callbacks in a remoting scenario are in turn remoting calls going in the
reverse direction. So you *do* need to publish the client as well as the
server.
If your multiple clients are on different machines, this should probably
work (hopefully the remote object IP and port number are stored somewhere
inside the remoting support classes) - I'd recommend that you repost this
question to the remoting newsgroup.

I also remember there was a very good website on .NET remoting where I saw
an article on remoting callbacks. The address was
http://www.dotnetremoting.* (can't remember the top-level domain, it was
most likely not something well-known such as .com or .org).

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

Show quote
"Mike Peretz" <m_per***@hotmail.com> wrote in message
news:QV1Fd.33111$TN6.1032516@news20.bellglobal.com...
>I am trying to use callbacks within my remote object. I was able to do it,
> however I had to publish the client as well known server and a singleton.
> So
> I am not sure how the server will callback multiple clients. So is there a
> way to have callbacks work without publishing the client as a wellknown
> service?
>
>
Author
13 Jan 2005 2:07 AM
Brian Graf
On Wed, 12 Jan 2005 13:05:56 +0200, Dmitriy Lapshin [C# / .NET MVP] wrote:


> I also remember there was a very good website on .NET remoting where I saw
> an article on remoting callbacks. The address was
> http://www.dotnetremoting.* (can't remember the top-level domain, it was
> most likely not something well-known such as .com or .org).

Could you be thinking of http://www.dotnetremoting.cc ?  It is where Ingo
Rammer puts all of his remoting articles.  Great site.  It redirects to
thinktecture.com now, which is Ingo's new company, but the content is the
same.

Regards,

Brian Graf
http://briangraf.com/weblog
Author
13 Jan 2005 7:35 AM
Dmitriy Lapshin [C# / .NET MVP]
Brian,

Yes, this is exactly the website I was referring to! Thanks a lot for
posting the full URL!

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

Show quote
"Brian Graf" <gro***@briangraf.com> wrote in message
news:q332ydw27z5y.1tctkp5yi9a6c.dlg@40tude.net...
> On Wed, 12 Jan 2005 13:05:56 +0200, Dmitriy Lapshin [C# / .NET MVP] wrote:
>
>
>> I also remember there was a very good website on .NET remoting where I
>> saw
>> an article on remoting callbacks. The address was
>> http://www.dotnetremoting.* (can't remember the top-level domain, it was
>> most likely not something well-known such as .com or .org).
>
> Could you be thinking of http://www.dotnetremoting.cc ?  It is where Ingo
> Rammer puts all of his remoting articles.  Great site.  It redirects to
> thinktecture.com now, which is Ingo's new company, but the content is the
> same.
>
> Regards,
>
> Brian Graf
> http://briangraf.com/weblog
Author
17 Jan 2005 10:49 PM
Mike Peretz
Thanks guys, I got it all to work. As it truns out, you must publish the
client, there is no other way. (as you said in your response).

Show quote
"Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.com> wrote
in message news:%23y587JU%23EHA.2112@TK2MSFTNGP14.phx.gbl...
> Brian,
>
> Yes, this is exactly the website I was referring to! Thanks a lot for
> posting the full URL!
>
> --
> Sincerely,
> Dmitriy Lapshin [C# / .NET MVP]
> Bring the power of unit testing to the VS .NET IDE today!
> http://www.x-unity.net/teststudio.aspx
>
> "Brian Graf" <gro***@briangraf.com> wrote in message
> news:q332ydw27z5y.1tctkp5yi9a6c.dlg@40tude.net...
> > On Wed, 12 Jan 2005 13:05:56 +0200, Dmitriy Lapshin [C# / .NET MVP]
wrote:
> >
> >
> >> I also remember there was a very good website on .NET remoting where I
> >> saw
> >> an article on remoting callbacks. The address was
> >> http://www.dotnetremoting.* (can't remember the top-level domain, it
was
> >> most likely not something well-known such as .com or .org).
> >
> > Could you be thinking of http://www.dotnetremoting.cc ?  It is where
Ingo
> > Rammer puts all of his remoting articles.  Great site.  It redirects to
> > thinktecture.com now, which is Ingo's new company, but the content is
the
> > same.
> >
> > Regards,
> >
> > Brian Graf
> > http://briangraf.com/weblog
>

AddThis Social Bookmark Button