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
We have a web based program completed with .NET C# and Microsoft SQL Server. There are some reports requires to be created. Required Skills. - High Proficiency in .NET C#


What are the modes of storing ASP.NET session? 1) InProc: - In InProc mode Session state is stored in the memory space of the Aspnet_wp.exe process. That is the default setti

A Super-hero Sharepoint developer with great design skills Project Description: US: Our start-up company develops a very cool and innovative SharePoint related product with c

What does Address Of operator do? The Address Of operator generates a delegate object for the BackgroundProcess method. A delegate within VB.NET is a object-oriented, type-safe

Live Chat Similar to Alibaba seller/ buyer chat Project Description: I want someone to design and implement for us a live chat program that will be used on our ecommerce webs

What is the difference between "DataSet" and "DataReader"? The major differences between "DataSet" and "DataReader" are as follows:- 1)The "DataSet" is a disconnected archit

Project Description: We are seeking someone who can write a program in C# or C++. The idea is to prepare the program using a Cross Platform environment like Mono or Qt which


What is the namespace in which .NET have the data functionality classes? System.data : This namespace contains the basic objects used for accessing &  storing relational d