Groups | Blog | Home
all groups > dotnet remoting > may 2005 >

dotnet remoting : singleton class creating new object when called from dll through.


amit kulshreshtha via .NET 247
5/31/2005 10:30:46 PM
(Type your message here)
hi all=2E=2E
i m developing application=2E in which i have 1 global server which=
is taking care of two client=2E these two client are window=
services=2E in which one windowservice update one object which is=
provided by singleton class on global server=2E It is ok it is=
working
But now the problem is when another windowservice in one dll is=
hosted and i have one method in dll which is making call to the=
global server for using the same object which is updated by=
other windowservice=2E
but it is creating new object in this case=2E pls tel me where i m=
doing wrong=2E pls suggest me some to do this=2E
--------------------------------
From: amit kulshreshtha

-----------------------
Posted by a user from =2ENET 247 (http://www=2Edotnet247=2Ecom/)

Basavaraj
6/8/2005 9:04:03 PM
Can you put your code here using which u access the globalServer

I hope you are using Activator.Getobject, if not use it

-- Basavaraj



[quoted text, click to view]
AddThis Social Bookmark Button