Which of the following is used to control and maintain the integrity and consistency of each action in
a transaction even though errors may occur in the system?
A.
Global.asax
B.
Tracing.axd
C.
Trace.axd
D.
App.config
Explanation:
Trace.axd is an Http Handler that can be used to view the trace details for an application. This file
resides in the application’s root directory. A request to this file through a browser displays the trace
log of the last n requests in time-order, where n is an integer determined by the value set by
requestLimit=”[n]” in the application’s configuration file.
Answer B is incorrect. There is no such file as Tracing.axd.
Answer A is incorrect. Global.asax is an optional file that contains code for responding to global
events that occur in a Web application. There can be only one Global.asax file for an application. This
file resides in the root directory of an ASP.NET application. External users cannot download or view
the code written within the Global.asax file.
Answer D is incorrect. The App.config (Application configuration) file is a .NET configuration file that
consists of a chain of settings specific to a Windows application. This file is usually located in the root
directory of the application that is being configured according to a particular computer. Generally,
the application configuration files override the configuration settings in the Machine.config
(Machine configuration) file.