Is it nessary to call servicehost.close method before the host application ends
I am wondering if it is necessary to call se开发者_运维知识库rvicehost.close before the application ends?
I would use the close and I avoid a using block after reading this article
http://www.danrigsby.com/blog/index.php/2008/02/26/dont-wrap-wcf-service-hosts-or-clients-in-a-using-statement/
精彩评论