wcf client - WCF - factories and channel objects - how to create for better performance -
i want make sure i'm following right approach. in application particular service have 1 static channelfactory (as it's instance thread safe), , every time need comunicate wcf service create channel createchannel , use channel , close it. bumped 1 opinion storing channel in static member, , reusing right (author of opinion claims creation of channels on percall basis decrease performance significantly). what's best approach?
thanks,pawel
well suggest own performance testing, think you'll find approach won't have problem creating many thousands of channels per second depending on hardware. in opinion use cases won't matter @ all.
if interested, michele bustamante (from idesign.net) goes discussion here code samples.
Comments
Post a Comment