WCF Channel and ChannelFactory Caching
So I've decided to up the performance a bit in my WCF application, and attempt to cache Channels and the ChannelFactory. There's two questions I have about all of this that I need to clear up before I get started. 1) Should the ChannelFactory be implemented as a singleton? 2) I'm kind of unsure about how to cache/reuse individual channels. Do you have any examples of how to do this you can share? It's probably important to note that my WCF service is being deployed as a stand alone application, with only one endpoint. EDIT: Thank you for the responses. I still have a few questions though... 1