Which of the following classes includes the intrinsic objects, Request and Response?
A.
HttpContextBase
B.
HttpCachePolicy
C.
HttpApplication
D.
HttpContext
Explanation:
The HttpContext class includes the intrinsic objects, Request and Response. It is also used to
encapsulate all HTTP-specific information about an individual HTTP request.Answer A is incorrect. The HttpContextBase class is used to serve as the base class for all the classes
that consist of HTTP information about an individual HTTP request.Answer B is incorrect. The HttpCachePolicy class consists of methods for setting cache-specific HTTP
headers and is also used for controlling the ASP.NET page output cache functions.Answer C is incorrect. The HttpApplication class is used to define the methods, properties, and
events that are similar to all application objects in an ASP.NET application.