Showing posts with label DTC. Show all posts
Showing posts with label DTC. Show all posts

Saturday, 26 November 2011

How to implement DTC in .NET ?

DTC is implemented using COM+.

Following are the steps to implement COM + in .NET :-

  • “EnterpriseService” namespace has all the classes by which we can implement DTC in .NET. You have to add reference “EnterpriseService” namespace.


Add reference to EnterpriseServices.




  • Your class must derive from “Serviced Component” object.

  • Then you have to define your class with the transaction attribute (For all transaction attribute look the down