What's a Transaction?

What is a transaction? Broadly speaking, a transaction is a mechanism to ensure that several operations succeed or fail as an atomic unit. In other words, it ensures that all operations succeed or all operations fail in the event that even one of the constituent components of the transaction encounters an error. Broadly speaking, transactions enforce the ACID rule popularized in database programming. WCF provides a simple centralized manner to support transactions within your applications. Prior to WCF, although there were mechanisms to support transactions (Begin Transaction...End Transaction in Visual Basic, for example), a single standard means of being able to support nondatabase transactions was not a trivial task ...

Get Pro WCF: Practical Microsoft SOA Implementation now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.