Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WCF Transactions without MSDTC

I need to coordinate a transaction between several SOAP services implemented in WCF. I know I can use the WS-Atomic transaction or oleTransactions.

For some technical reasons, I cannot make any use of the MSDTC. Is there a way I can coordinate a transaction between services without using the MSDTC?

Thanks!

like image 273
user1275011 Avatar asked Oct 12 '13 19:10

user1275011


People also ask

Can you explain transactions in WCF?

A transaction in WCF is a set of operations that follow some properties, collectively known as ACID. Here, if a single operation fails, the entire system fails automatically. When an order is placed online, a transaction takes place.

How many transaction flow protocols are supported by WCF out of the box?

The TransactionFlowProtocol binding property enables you to choose among two different transaction protocols that you can use to flow a transaction.


1 Answers

Can't we make WCF to manage transactions without implicitly using MSDTC.

i.e. The wcf application should manage transactions even when I disable the Distributed Transaction Co-ordinator.

Isn't is possible.

You need to visit this link:

Configure MS DTC Component Services for WCF Transactions

like image 155
Jignesh.Raj Avatar answered Oct 03 '22 05:10

Jignesh.Raj