PC Review


Reply
Thread Tools Rate Thread

TransactionScope and Concurrency?

 
 
znelson
Guest
Posts: n/a
 
      30th Apr 2008
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?
 
Reply With Quote
 
 
 
 
znelson
Guest
Posts: n/a
 
      30th Apr 2008
On Apr 30, 10:15*am, znelson <znel...@gmail.com> wrote:
> 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.
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TransactionScope using Aleksey Timonin Microsoft ADO .NET 1 17th Jan 2008 01:39 PM
TransactionScope using Aleksey Timonin Microsoft Dot NET Framework Forms 1 16th Jan 2008 05:04 PM
TransactionScope using Aleksey Timonin Microsoft C# .NET 3 15th Jan 2008 06:36 PM
Should I use TransactionScope? hardieca@hotmail.com Microsoft C# .NET 4 11th May 2007 09:12 AM
About TransactionScope kikapu Microsoft C# .NET 3 20th Sep 2006 06:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:41 PM.