|
 |
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0  | This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|

May 2nd, 2007, 01:27 PM
|
Registered User
|
|
Join Date: May 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
TransactionScope and Shared Web Hosting
Hi!
In the book, it was mentioned that TransactionScope shouldn't be used in a shared web hosting environment because the server could be reconfigured... Could someone clarify that for me? I'm building a CMS to be hosted on a shared server, but I would really like to use TransactionScope in the BLL.
Thx,
C.
P.S. Great book! I'm hoping you guys do another Problem - Design - Solution book for Windows Form development!
|

May 3rd, 2007, 11:00 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You obviously can't control the transaction scope outside of your web application. The problem would be any attempt to enlist in a wider scope than you are allowed to use. This happens automatically in some cases.
If you can contain the scope to your app only, it "might work". That's the best assurance you can get when it comes to MTS on a shared server.
There won't be a Winforms book like this because Windows apps are highly specialized by their nature. It's hard to find a need for a general purpose application for Win Forms. Besides, all the Windows fat client book focus is already moving to WPF. You should check into WPF!
Silverlight is the new compelling web technology after AJAX. I wish the world would slow down so I can keep up with all this stuff!
Eric
|

May 4th, 2007, 12:01 PM
|
Registered User
|
|
Join Date: May 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for the response, but I'm still rather unclear:
>You obviously can't control the transaction scope outside of your
>web application. The problem would be any attempt to enlist in a
>wider scope than you are allowed to use. This happens automatically
>in some cases.
I don't understand what you mean about the transaction scope being outside of my application. If I look at the BLL of the TBH (Order object), I had thought the scope began and ended in the BLL, with a trickling down to the DAL so that commands could be properly transactioned. Could we not specify the transaction scope as root? Would that prevent an attempt to enlist in an ambient scope I don't have access to?
Do all databases work with TransactionScope? I'm really jazzed about the concept, it would make my code much more elegant.
Cheers,
C.
|

May 6th, 2007, 11:17 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The whole idea behind MTS is to allow different tiers and different applications to participate in the same transaction. For example, if you call a COM object hosted as COM+, then it can participate in the same transaction. This can either be automatic (auto-enlistment) or manual. Manual is good in my book because it lets me decide the span of the transaction. Auto enlistment is easy, but dangerous.
Oracle can support MTS transactions, but that support may require an extra software layer that has an extra fee. I don't know about other DBMS's.
Web Services also can't participate in MTS transactions yet. Even the super-cool WCF can only support single call transactions at this time. Full transaction support in services will arrive someday, but not soon.
Eric
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |