What are the two different kinds of phases in WCF transactions?

 Posted by articlesMaint on 9/14/2009 | Category: WCF Interview questions | Views: 3267

WCF transactions follow 2 phase commit. So there are 2 phases one is the prepare phase and the other is the commit phase. All co-ordination of transactions is done by the transaction manager.

In prepare phase the transaction manager checks whether all entities are prepared to commit. In commit phase the actual commit starts. You can think about prepare phase as a check saying that all entities are ready to commit and in the commit phase we do the actual work.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response