Published or precreated objects in remoting, DOT NET Programming

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.

Posted Date: 9/21/2012 8:09:37 AM | Location : United States







Related Discussions:- Published or precreated objects in remoting, Assignment Help, Ask Question on Published or precreated objects in remoting, Get Answer, Expert's Help, Published or precreated objects in remoting Discussions

Write discussion on Published or precreated objects in remoting
Your posts are moderated
Related Questions
How can we create custom controls in ASP.NET? The User controls are created using .ASCX in ASP.NET. After that .ASCX file is created you need two things in order to that the AS

What is triple constraint triangle?   Figure: -Project Management Triangle The Project Management triangle is depicted as Cost, Schedule & scope. These 3 aspects for

Difference between VB.NET and C# This is the main debatable issue in .NET community and everyone treat their languages like religion. It is a very important matter which lan

What does a break statement do in the switch statement? The switch statement is a selection control statement that is used to handle many choices and transfer control to the ca

Task on data mining Project Description: Task on Opinion Mining, Sentiment Analysis Skills required are C# Programming, Software Architecture, Data Mining

What is the use of "Must Inherit" keyword in VB.NET? If you want to create an abstract class in the VB.NET it is done by using the "MustInherit" keyword.You can't create an obj

Project Description: Section - Mobile Data Collection System Using the Microsoft Mobile .Net Framework or .Net Compact Framework and ASP.NET web technology develop a mobile d

Design an interface and add code to command buttons using case statement, to find coursework to be calculated using formula 0.6*1/6*total Mark

Reflection All .NET assemblies have metadata information stored  the types defined in the modules. And This metadata information can be accessed by mechanism called as "Reflect

Can you give an overview of ADO.NET architecture? The most important part  in the ADO.NET architecture is the "Data Provider". The  Data Provider provides access to the datasou