I have tested the above in a distributed environment as well, and it
worked fine.
Just as a side note for anyone reading this in the future - I was
actually able to find the behavior I describe (i.e. not having to
explicitly register a client channel) documented in the .NET Framework
SDK documentation under Programming with the .NET Framework ->
Accessing Objects in Other Application Domains Using .NET Remoting. I
feel better now knowing that this is expected and intended behaviour.
Apparently, if you do not explicity register a client channel, the
Framework will attempt to register one for you from the list of
supported channels in your machine.config file.
Steve
> I need to double check this in one of my text books, but I
> think that as you are calling a Serviced Component, and it
[quoted text clipped - 10 lines]
> in a distributed enviroment, as I'm not making much
> progess at the moment
Sunny - 21 Jan 2004 17:20 GMT
Hi Steve,
I have found in the article Channels under the path you point, that:
<cite>
Clients can communicate with a remote object using any registered
channel. The remoting system ensures that the remote object is connected
to the right channel when a client attempts to connect to the object.
The client is responsible for calling ChannelServices.RegisterChannel
before attempting to communicate with a remote object. If it expects a
callback function, the client must register a channel and a port.
</cite>
Is this what you mean. If yes, it just confirms mine statement in the
other post - thank you for pointing me there.
If no, where to look for additional info?
Thanks
Sunny
> I have tested the above in a distributed environment as well, and it
> worked fine.
[quoted text clipped - 26 lines]
> > in a distributed enviroment, as I'm not making much
> > progess at the moment