WCF Proxies – Don’t use a "Using" block…

There’s an issue with WCF proxies that is starting to get some (negative) attention. It has to do with the fact that WCF proxies can throw an exception when they are disposed. There are a number of posts on the net about this, so I won’t go into details here.

Microsoft has an article on this issue:


Tony Seed has a good article that shows a nice way to fix this, including a code snippet.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: