Defining Transactions in WCF
WCF supports the WS-Atomic transaction protocol. Transactions in WCF have been defined with the System.ServiceModel namespace and feature three main components. These are the ServiceBehavior attribute, the OperationBehavior attribute, and the TransactionFlow attribute. You will look at each of these in a little more depth and examine what these achieve individually in the transaction in the following sections. You'll learn about their implications prior to jumping into the how-tos of implementing them.
Using the TransactionFlow Attribute
The TransactionFlow attribute specifies whether the service can be related to the external interactions and the level at which the incoming transaction is accepted. The only options ...
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.