O'Reilly logo

WCF 4.0 Multi-tier Services Development with LINQ to Entities by Mike Liu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we have discussed how to enable distributed transaction support for a WCF service. Now we can wrap sequential WCF service calls within one transaction scope and flow the distributed transaction into the WCF services. We can also update multiple databases on different computers all within one single distributed transaction.

The key points discussed in this chapter include:

  • Only certain bindings allow transactions to flow from the client to the WCF service using the transactionFlow attribute
  • A WCF service operation contract can opt to participate in a propagated transaction using the TransactionFlow attribute
  • A WCF service operation can specify its transaction behavior using the TransactionScopeRequired attribute
  • MSDTC network ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required