ChannelFactory caching behavior
April 8, 2014 at 8:53 AM
—
alex
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:
http://msdn.microsoft.com/en-us/library/hh314046(v=vs.110).aspx
5a6fec48-d3b1-4282-b133-b4c8b4e1710c|0|.0
Posted in:
Tags: