Interviews1 answer
What is Transaction Propagation in WCF?
1 Answer
It is the ability to propagate transaction across the boundaries of a single service.
To enable the service follow the below code: set transactionFlow=true
[ServiceContract]
public interface IService
{
[OperationContract]
[TransactionFlow(TransactionFlowOption.Allowed)]
int Add(int a, int b);
[OperationContract]
int Subtract(int a, int b);
}
SrimantaPosted Mar 1, 2018, 4:28 PM EST

