Newsletter

Thank you

ChannelFactory caching behavior

I've came across a few places where WCF ChannelFactory was recreated each time a new method was called. This arguably a bad practice and should be avoided. Instead, an instance of ChannelFactory should be cached and reused when a call needs to be made thus avoiding expensive reinitialization of the factory. Read on more on MSDN related to this topic: