by David Kiff
23. September 2009 15:25
I found myself repeating the same old try..catch logic within our WCF services. Quite often we would catch specific exceptions and re-throw them as fault exceptions, whereas the rest required logging and re-throwing.
I decided to create a wrapper around the class responsible for invoking the operations. That will allow us to add a generic try..catch around every operation, that we apply the behaviour to.More...