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
Project Description: We are seeking experienced .NET developers (possibly certified) to work with us on several future projects. You will have to pass a simple test to be consid

Fixing chrome problem Problem 1- Booksearcha.asp and bookrstep2.asp on allreaders.com (bookrstep2 only accessible from bookrstep1.asp) utilize scroll down menus at times. In Chr

Compute Average of 3 numbers - C# Program I didn't know the exact code for computing average of integer number. Can anybody suggest me the correct way for find out the average

What is a monitor object? Monitor objects are used to ensure that a block of code runs without being interrupted by code running on other threads. In other words, code in other

I need Game development tutorials Project Description: We need video tutorials like lynda for game development using unity. You must have developed games before and need to s

Define an event. Whenever an action takes place in a class, that class gives a notification to other classes or objects that are assigned to perform certain tasks. These notifi


how can i construct er diagram for payroll managment

Program for Solution of Linear Equations - C# Program Hello, I've been trying so many codes for this but those codes didn't work well. Please write a Program for solving Linea

Find out the Factorial - C# Program I've been trying so many codes for this but those codes didn't work well. Please write the code for find out the factorial of an integer nu