Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Visual Studio seems to kill singleton instance of a WinFX service

 
 
Old 08-25-2006   #1 (permalink)
=?Utf-8?B?U3RlZmFuIEhpbnRlcnNjaGVpZA==?=


 
 

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?

My System SpecsSystem Spec
Old 08-26-2006   #2 (permalink)
Arkady Frenkel


 
 

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?



My System SpecsSystem Spec
Old 09-07-2006   #3 (permalink)
=?Utf-8?B?TWljaGFlbCBHcmVlbiAtIE1TRlQ=?=


 
 

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,


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Err.Number 486, Vista Ultimate, Visual Studio, & Visual Basic Vista General
visual studio 6 service pack installation on vista Vista General
Visual Studio 6 and Visual Source Safe 6 on Vista Vista General


Vista Forums 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 Ltd

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