Chapter 10. Distributed Transaction Support of WCF
In previous chapters we have created a WCF service using LINQ to Entities in the data access layer. Next we will apply settings so that this WCF service will be a distributed service, which means that it can participate in distributed client transactions, if there are any. Client applications will control the transaction scope and decide whether a service should commit or rollback its transaction.
In this chapter, we will first verify that the LINQNorthwind
WCF service that we built in the previous chapter does not support distributed transaction processing. We will then explain how to enhance this WCF service to support distributed transaction processing and how to configure all related computers to enable distributed transaction support. To demonstrate this, we will propagate a transaction from the client to the WCF service and verify that all sequential calls to the WCF service are within one single distributed transaction. We will also...