Lightweight transactions causing escalation to DTC

Lightweight transactions causing escalation to DTC

Old forum URL: forums.lhotka.net/forums/t/9392.aspx


BuckeyeJeff posted on Tuesday, August 17, 2010

We need a way to keep our calls a lightweight transaction.  It makes a first call as a LWT and then after that call, it stops making LWTC and we get calls on random ports that gets promoted to a DTC transaction.  We see in clsa 3.5 there are ways to avoid these issues.  Can you explain these tools and how we can use them to avoid this issue?  RPC calls on dynamic ports are causing the fetch method to fail.

Referencing this issue->http://www.lhotka.net/cslanet/faq/DataFaq.ashx

ajj3085 replied on Tuesday, August 17, 2010

Just use ContextManager (for Linq to Sql), ObjectManager (I think, for EF), or Connection / TransactionManager for straight ADO.Net.  There should be plenty of samples already included with Csla.

Copyright (c) Marimer LLC