Enabling distributed transaction support
In the previous sections, we verified that the WCF service currently does not support the distributed transactions irrespective of whether there are two sequential calls to the same service or two sequential calls to two different services, with one database or with two databases.
In the following sections, we will learn how to allow this WCF service to support distributed transactions. We will allow the WCF service to participate in the client transaction. From another point of view, we will learn how to propagate a client transaction across the service boundaries so that the client can include service operation calls on multiple services in the same distributed transaction.
Enabling transaction flow in ...
Get WCF Multi-layer Services Development with Entity Framework Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.