Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What's the difference btw the following methods in .NET
remoting?

RegisterWellknownServiceType()
RegisterWellknownClientType()
RegisterActivatedServiceType()
RegisterActivatedClientType()

Answer Posted / anil kumar mudajja

RegisterWellknownServiceType():
Method used to define and configure a remotable Object that
needs to be Activated on server side. This takes 3
parameter as follows:-
RegisterWellKnownServiceType( typeof( <Class/Object
Name> ), <"SomeURI">,
WellKnownObjectMode.Singleton/SingleCall );

RegisterWellknownClientType():
This method has to be used on the client module to
comunicate with serve-side activated remote object. Ex:
RegisterWellKnownClientType( typeof( <Class/Object Name> ),
<"Server Remotable Object URL"> );


RegisterActivatedServiceType():
RegisterActivatedClientType():
Similarly, the above two methods are used to define
remotable object type as client activated.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it a good design practice to distribute the implementation to remoting client?

969


Explain threading types?

1119


What is a formatter in .net remoting?

1141


Explain the types of .net remoting?

1199


Explain Singleton design pattern of Remoting?

1027


Explain serialization formatters in .net remoting

1013


What are the ways to configure remoting objects before client can use them?

1169


Explain how can you automatically generate interface for the remotable object in .net with microsoft tools?

1058


Define singlecall activation mode in .net remoting?

1039


When do we use delegates in your remoting applications?

983


What are the ways to renew lifetime leases of objects?

1114


What is the difference beween the registeractivatedservicetype() and registeractivatedclienttype()?

969


Explain the difference between the registerwellknownservicetype(), registerwellknownclienttype(), registeractivatedservicetype() and registeractivatedclienttype() in .net?

989


What are the situations you will use singleton architecture in remoting ?

1018


How do you implement distributed applications in .net?

1047