Can you do distributed transactions across processes?
-
Is it possible to do a distributed transaction across two processes where one process calls the other using .NET remoting? (I'm using .NET 2.0) Specifically, I have a system that manages work orders, and sometimes the work order requires an adjustment to stock. The stock system uses a .NET service that runs on a server. I'd like to start the completion process of the work order in a distributed transaction, call the stock management service, enlisting it in the transaction, and then finally complete or rollback the transaction in the original work order process. I have access to the stock management source code, so modifying or adding a new method isn't a problem. If anyone has done this or knows if it would work, where to find an example or if there are any "tricks" that must be done, I'd appreciate any feedback or thoughts on this. I've never done any practical work with distributed transactions, just read the theory from books and simple examples. Thanks for the help, Trevor B