Re: RemotingConfiguration.RegisterWellKnownClientType - Multiple servers?
VB.NET
Thread Starter: Merrion
Started:
Replies: 2

Ireland .NET Developer Alliance :: Forums » Technologies » VB.NET » Re: RemotingConfiguration.RegisterWellKnownClientType - Multiple servers?
« Previous Thread
   02 Nov 2004, 9:46
Merrion is not online. Last active: 09/11/2004 11:03:27 Merrion

Top 10 Posts
Joined on 02-11-2004
Dublin
Posts 2
RemotingConfiguration.RegisterWellKnownClientType - Multiple servers?
I have a service that runs on each print server in a network and it registers a well known service type which is in charge of monitoring various aspects of that server. These are wrapped up in a class that I want to instantiate from a client application using RemotingConfiguration.RegisterWellKnownClientType.

The question is how do I go about registering the same type as being created by a number of servers and selecting between them to instantiate a particular instance of the object?


  
   02 Nov 2004, 1:13
Marcus is not online. Last active: 17/11/2004 20:29:51 Marcus

Top 10 Posts
Joined on 31 Oct 2004
Dublin, Ireland
Posts 11
Re: RemotingConfiguration.RegisterWellKnownClientType - Multiple servers?
Merrion,

I'm not sure exactly what you mean in your question, but are you looking to create a list of remote objects which can then be enumerated on the client side?

If its just some basic remoting help you are looking for, you could try  http://www.c-sharpcenter.com/csnet/remoting/remoting.asp for a good introduction. The site seems to be down at the moment... so try Google's cache instead.

Marcus


blog: http://www.styledesign.biz/weblogs/macinnesm/
 
    
   03 Nov 2004, 11:37
Merrion is not online. Last active: 09/11/2004 11:03:27 Merrion

Top 10 Posts
Joined on 02-11-2004
Dublin
Posts 2
Re: RemotingConfiguration.RegisterWellKnownClientType - Multiple servers?
I am looking for the same type to be supplied by two (or more) different servers.
I have found that RegisterWellKnownClientType is not the way to do this, but rather Activator.CreateInstance with the appropriate server url in the activationParameters...

..not that it is working yet [O][co][C]
  
  Page 1 of 1 (3 items)
Ireland .NET Developer Alliance :: Forums » Technologies » VB.NET » Re: RemotingConfiguration.RegisterWellKnownClientType - Multiple servers?

Powered by Community Server :: Forums