what is fundamental of published or precreated


What is fundamental of published or precreated objects in Remoting?

In the scenarios of the singleton or single call the objects are created dynamically. But in some situations where you want to precreate the object and publish it you will use published object scenarios.As shown below in above sample following changes will be needed on server side

Dim obj as new objRemote

obj.Initvalue = 100

RemotingServices.Marshal(obj,"RemoteObject")

RemotingConfiguration.RegisterWellKnownServiceType is replaced by RemotingServices.Marshal(obj,"RemoteObject") where "obj" is the precreated objected on the server whose value is initialized to 100.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: what is fundamental of published or precreated
Reference No:- TGS0161209

Expected delivery within 24 Hours