Testing the distributed transaction support of the new WCF service
Now that we have changed the service to support distributed transactions and let the client propagate the transaction to the service, we will test this. We will first change the distributed transaction coordinator and firewall settings for the distributed transaction support of the WCF service, then propagate a transaction from the client to the service, and test the WCF service for multiple database support.
Configuring the Microsoft Distributed Transaction Coordinator
In a subsequent section, we will call two services to update two databases on two different computers. As these two updates are wrapped within one distributed transaction, Microsoft Distributed Transaction Coordinator (MSDTC) will be activated to manage this distributed transaction. If MSDTC is not started or not configured properly, the distributed transaction will not be successful. In this section, we will learn how to configure MSDTC on both the machines...