Questions tagged [instancecontextmode]

31 questions
0
votes
1 answer

Why is an InstanceContextMode.Single service disposing the singleton on Close?

I have a WCF (4.0) service that is decorated as InstanceContextMode.Single and the class implementing the service is follows a Singleton pattern. I first create the singleton instance of my service implementation with the Instance attribute. Then I…
1 2
3