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
Looking for web designer Project Description: I am seeking website designer with developing skills of Html, .Net and also supports in all browsers. Please ping your previous

Explain the new features in ADO.NET Entity Framework 4.0. ADO.NET Entity Framework 4.0 is introduced in .NET Framework 4.0 and contain the following new features: Persisten

Windows Phone 8 Player - Radio Live Streaming Native XAML and C# Project Description: Player for Windows Phone 8 Scope: The project evolves the development of app using


Passport Authentication This is a centralized authentication service given by Microsoft that offers a single logon facility and membership services for participating sites. ASP

What is nested Classes? You can access an array using the INDEX value of that array, but how many times you know the real value of the index. The Hashtable provides a way of ac

Virtual Webcam effects + Sourcecode + Setup + Nice User Interface Project Description: i want a similar webcam effects application which can apply effects to webcam feed. So

Explain the WSDL. WSDL is a short form for Web Services Description Language, which is used to explain a Web service in terms of the messages that it forms and accepts. The WS

I need C# API for bitfinex Project Description: Hi, I need a developer to build a library in C# that connects to the bitfinex API. The library must implement all the authenti

What is Delegation? A delegate seems like a strongly type function pointer. Delegates can request the methods that they reference without making explicit calls to those methods