Multiple choice technology programming languages

What Namespace does the Web page belong in the .NET Framework class hierarchy?

  1. System.Web.UI.Page

  2. System.Windows.UI.Page

  3. System.Web.Page

  4. System.Windows.Page

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In ASP.NET, all .aspx pages inherit from the Page class located in the System.Web.UI namespace. The full namespace path is System.Web.UI.Page, which provides the base functionality for web pages including lifecycle events, request/response handling, and control management.

AI explanation

In ASP.NET's class hierarchy, a Web Forms page inherits from System.Web.UI.Page — the UI namespace groups classes for building the page/control rendering pipeline (Page, Control, etc.), while System.Web itself holds core HTTP-related classes (HttpContext, HttpRequest). "System.Windows.UI.Page" and "System.Windows.Page" belong to WPF/XAML's namespace tree, not ASP.NET Web Forms, and "System.Web.Page" omits the required ".UI" segment, which doesn't exist in the actual .NET Framework namespace hierarchy. System.Web.UI.Page is the real, documented base class.