GIAC GIAC Secure Software Programmer - C#.NET GSSP-NET-CSHARP Question # 144 Topic 15 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-NET-CSHARP Question # 144 Topic 15 Discussion

GSSP-NET-CSHARP Exam Topic 15 Question 144 Discussion:
Question #: 144
Topic #: 15

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create an ASP.NET Web application using .NET Framework 3.5.

The application rarely experiences errors that cannot be reproduced on a test environment. You are required to ensure that the application meets the following requirements:

l All unanticipated errors are logged.

l Logging is configured with a least amount of alteration to the application code.

What will you do?


A.

Override the base class for all forms in the application to add the Try/Catch blocks to all the major functionalities.


B.

Enable the element in the Web.config file and set the mode attribute to On .


C.

Enable the element in the Web.config file and set the mode attribute to

RemoteOnly.


D.

Add an event handler for the Application.Error event to the Global.asax file of the applicatio n.


Get Premium GSSP-NET-CSHARP Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.