Is it OK to store a WCF client instance on a singleton to use on the whole appdomain? Also are you suppose to manage the state of the client because I see it has a Close and Open method?
Asked
Active
Viewed 529 times
1 Answers
2
I would not store it as a singleton. If you do and it ends up in a Faulted state, you'll have some trouble. Use it as an instance, and properly Close and Dispose of it.

vcsjones
- 138,677
- 31
- 291
- 286