Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Visual Studio seems to kill singleton instance of a WinFX service

 
 
Thread Tools Display Modes
Old 08-25-2006   #1 (permalink)
=?Utf-8?B?U3RlZmFuIEhpbnRlcnNjaGVpZA==?=
Guest


 

Visual Studio seems to kill singleton instance of a WinFX service

I am using a service that is configured to run as a singleton instance,
hosted in IIS.
Whenever I start the same client out of Visual Studio I can see that the
instance of the service is reinitalized. I could also see it by attaching a
debugger, because I hit the constructor every time the client connects.

When I start the client directly e.g. out of Windows Explorer I get the
original instance.

Has anyone observed a similar behaviour concerning singleton services?
Old 08-26-2006   #2 (permalink)
Arkady Frenkel
Guest


 

Re: Visual Studio seems to kill singleton instance of a WinFX service

Did you check that InstanceID back, that always the same in that case at
least on my computer
Arkady

"Stefan Hinterscheid" <StefanHinterscheid@discussions.microsoft.com> wrote
in message news:88307F4E-991E-42CB-AED2-B0992E018108@microsoft.com...
>I am using a service that is configured to run as a singleton instance,
> hosted in IIS.
> Whenever I start the same client out of Visual Studio I can see that the
> instance of the service is reinitalized. I could also see it by attaching
> a
> debugger, because I hit the constructor every time the client connects.
>
> When I start the client directly e.g. out of Windows Explorer I get the
> original instance.
>
> Has anyone observed a similar behaviour concerning singleton services?



Old 09-07-2006   #3 (permalink)
=?Utf-8?B?TWljaGFlbCBHcmVlbiAtIE1TRlQ=?=
Guest


 

RE: Visual Studio seems to kill singleton instance of a WinFX service

Stefan,

Do you see the same behavior when using the Instancing Sample? You can find
this sample under WCF Technology Samples/Basic WCF Technology Samples/Service
Samples/Instancing.

Thanks,


 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Err.Number 486, Vista Ultimate, Visual Studio, & Visual Basic Mike Vista General 2 01-16-2008 01:06 PM
Visual Studio 6 and Visual Source Safe 6 on Vista Mikhail Gryaznov Vista General 1 01-15-2008 10:07 PM
visual studio 6 service pack installation on vista Bernie Vista General 3 07-22-2006 08:38 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50