O
oleggus
I hope, I misunderstood some basics here and it is easy to solve..
I need a singleton object running on server which can be used(write
and read) by different client interfaces - for example there is
webservice that simply transfer calls to this object and there is a
COM Interop, that does the same. Also I need to control lifecycle and
behaviour of this singleton - and for that I am going to have window
application, that will start and finish it.
I do not have problem with the last part - I run window app and
request an instance of my singleton. But how can I make another apps
(webservice and COM interop) to work with the same singleton? I
believe it is doable, but how?
I need a singleton object running on server which can be used(write
and read) by different client interfaces - for example there is
webservice that simply transfer calls to this object and there is a
COM Interop, that does the same. Also I need to control lifecycle and
behaviour of this singleton - and for that I am going to have window
application, that will start and finish it.
I do not have problem with the last part - I run window app and
request an instance of my singleton. But how can I make another apps
(webservice and COM interop) to work with the same singleton? I
believe it is doable, but how?