TransactionScope and Concurrency?

  • Thread starter Thread starter znelson
  • Start date Start date
Z

znelson

With the typical example of implementing calls that leverage
TransactionScope (via a using code block) - would this be "safe" for
asp.net web apps? I am finding some conflicting opinions on the net
about this issue.

Because transaction enlisting is inherent by all calls in the code
that executes (within the using block), would User A's rollback cause
User B's to rollback too if they both hit at the same time?
 
With the typical example of implementing calls that leverage
TransactionScope (via a using code block) - would this be "safe" for
asp.net web apps? I am finding some conflicting opinions on the net
about this issue.

Because transaction enlisting is inherent by all calls in the code
that executes (within the using block), would User A's rollback cause
User B's to rollback too if they both hit at the same time?

I answered my own question with a little testing - each user's
transaction is unique and one does not affect the other.
 
Back
Top