Question 75


1.7.1 Question

Multiple Choice

In an HTTP module, can you redirect the request to a different handler than is in the routing table? If so, what event would you handle?

  • A. Yes, and you handle the PostAuthorizeRequest event.
  • B. No, after the request starts into the process, it either continues through to the mapped handler or throws an error.
  • C. Yes, and you handle the MapRequestHandler event.
  • D. Yes, and you handle the ReleaseRequestState event.

Answer:

C
Explanation
A. Incorrect: The PostAuthorizeRequest event is thrown before the handler is mapped.
B. Incorrect: You can handle the mapping of the request in the MapRequestHandler.
C. Correct: You handle the mapping of the request in the MapRequestHandler.
D. Incorrect: The ReleaseRequestState is thrown after the handler has completed.