all groups > dotnet remoting > june 2006 >
You're in the

dotnet remoting

group:

Publishing remote objects


Publishing remote objects donald_largen NO[at]SPAM msn.com
6/21/2006 8:52:47 AM
dotnet remoting: I have always used RemotingConguration.RegisterwellknowserviceType.
However I discovered you can use RemotingServices.Marshall.

What is the difference?

Thanks
Donald
Re: Publishing remote objects Spam Catcher
6/21/2006 4:33:23 PM
donald_largen@msn.com wrote in news:1150905167.744835.137770
@i40g2000cwc.googlegroups.com:

[quoted text, click to view]


Marshal allows you to publish a singleton (existing instance of the
object).

For example, if you have a persistent object which you would like to
marshal - you would use RemotingServices.Marshal.

If you want to marshal a new instance each time - use the
AddThis Social Bookmark Button