What are the page level transaction and class level
transaction?

Answer Posted / madhavi

transaction support allows pages to participate in ongoing
Microsoft .NET Framework transactions. Transaction support
is exposed via an @Transaction directive that indicates the
desired level of support: Required, RequiresNew, Supported,
NotSupported, Disabled.
The Transaction attribute is applied at the class level too
to indicate that all class methods should be run in the
context of a transaction. If an unhandled exception is
thrown during the execution of a class method, the
transaction is aborted. Otherwise, the transaction is committed.
we can set the page level transaction by
<@page transaction='"required">
using System.EnterpriseServices;
[Transaction]
public class TransactionAttribute_Cl : ServicedComponent
{
}

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the best Macanism to clear the Cache in asp.net

701


What are the media types of http requests and response?

504


What are the advantages of using Master Pages?

591


What are the page life cycle events?

488


How do you hide the columns?

588






What are resource file and how do we generate resource file?

560


Out of ASP or ASP.NET which one is stateless?

674


How do you initiate validation on the server manually? What are two situations when you might you want to do that?

1354


Explain server side state management system.

547


Which platform does Microsoft .NET use for exchanging data between applications?

578


What is marshalling ? Is it a part of asp.net ?

612


Explain security types in asp.net?

533


What is session authentication?

526


What is the difference between server-side scripting and client-side scripting?

542


What is asp.net introduction?

516