.net - Should I use the client proxies when needed or open them all at the beginning? -
i have wcf client application consists of 5 proxies make own connections throughout lifecycle of application. duration client running not long @ (less 1 minute).
i calling method on proxies when needed to, seems alleviated me having call "proxy.open()". guess proxy opens automatically after first method call made.
now wondering if should explicitly calling "proxy.open()" on proxies before call method on them? additionally, should open of them @ start of client application, since runtime less 1 minute? there best practice? appreciate help.
when proxy used in more thread, invoking open explicitly preferable described in article.
Comments
Post a Comment