Using Transactions in WCF

Transactions are fundamental to applications in order to ensure consistent behavior for data. In addition, they are a fundamental building block for ensuring the implementation of atomic, consistent, independent, and durable (ACID) behavior in an application. In the QuickReturns Ltd. application, ACID behavior means that when you do make a trade, it is absolute. It will either be complete in its entirety or be rolled back, leaving no room for ambiguity. If you were to put in a buy order for a stock, you would definitely want to be sure that the trade were absolute, right? Without transactions, you would not be sure that the trade was indeed conducted, and you would have no means of verifying the validity without ambiguity. ...

Get Pro WCF: Practical Microsoft SOA Implementation 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.