What are the page level transaction and class level
transaction?
Answer / 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 |
Caching techniques in .NET ?
What is gacutil.exe? Where do we store assemblies, Should sn.exe be used before gacutil.exe?
Where sessions are stored in asp.net?
How do u deploy ur project?
What are the properties of the eventargs argument when capturing keyboard events?
What is view state management in asp net?
What are the features of asp net?
What does the "EnableViewState" property do? Why would I want it on or off?
How many types cache in asp net?
What is asp net objects?
what is postback implementation?when pre-render event n init event is fired?
What is the maximum number of classes that can be contained in one dll file?