WCF error helpers

It's a pretty common requirement to propagate error information from your WCF services to clients. Although it's possible to just let exceptions flow through your code and make WCF wrap them in a fault it is much better from the interoperability perspective to construct and send SOAP faults that you declare in your service definition. Prefer fault contracts over letting »

on WCF

Dependency injection with WCF

Here's the goal: We want to have a WCF service that is decoupled from the repository implementation. We want the infrastructure to take care of setting up the service, injecting the repository implementation and triggering the disposure of the service and the repository object. Suppose we have a simple service contract: [ServiceContract(Namespace="http://www.dzimchuk.net/services/2010/ »