You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You need to ensure that the application meets the following requirements:
– Logs all the Web requests before authentication occurs
– Logging is performed for all types of requests
What should you do?
A.
Write the logging code in the ProcessRequest method of an HttpHandler class.
B.
Write the logging code in the LogRequest application event of an HttpModule class.
C.
Write the logging code in the BeginRequest application event of an HttpModule class.
D.
Write the logging code in the AuthenticateRequest application event of an HttpModule class.