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
What is the best Macanism to clear the Cache in asp.net
What are the media types of http requests and response?
What are the advantages of using Master Pages?
What are the page life cycle events?
How do you hide the columns?
What are resource file and how do we generate resource file?
Out of ASP or ASP.NET which one is stateless?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
Explain server side state management system.
Which platform does Microsoft .NET use for exchanging data between applications?
What is marshalling ? Is it a part of asp.net ?
Explain security types in asp.net?
What is session authentication?
What is the difference between server-side scripting and client-side scripting?
What is asp.net introduction?