If I have a method in which I initialize a WCF proxy and use it, do I also have to call the Close method on the proxy before the method ends, or is this taken care of for me?
If I have a method in which I initialize a WCF proxy and use
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Close it. Why wait for .Net to do it when you don’t know when that will happen for the entire life of the app.