![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| 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 | |||