ASP.NET API Reference

This section provides comprehensive API documentation for ASP.NET, covering a wide range of classes, methods, properties, and events that form the backbone of web development with ASP.NET.

Core Namespaces

Explore the core namespaces within ASP.NET to understand their purpose and the types they contain.

Namespace Description Key Types
System.Web Provides fundamental classes and interfaces for building web applications, including request/response handling, session management, and HTTP modules. HttpApplication, HttpRequest, HttpResponse, HttpSessionState
System.Web.UI Contains classes for building user interfaces in ASP.NET Web Forms, including controls, pages, and rendering mechanisms. Page, Control, UserControl, TemplateControl
System.Web.UI.WebControls Offers a rich set of server controls for common UI elements like grids, forms, buttons, and more. GridView, DetailsView, TextBox, Button
System.Web.Services Enables the creation of SOAP-based Web Services. WebService, WebMethodAttribute
System.Web.Routing Provides classes for URL routing, enabling cleaner URLs and more SEO-friendly web applications. (Introduced in ASP.NET 4.0) Route, RouteCollection, RouteTable

Key Classes and Concepts

Request and Response Handling

Understand how ASP.NET manages incoming requests and outgoing responses.

State Management

Learn about the different mechanisms for managing user state across requests.

Server Controls (Web Forms)

A deep dive into the powerful server controls available in ASP.NET Web Forms.

Control Description
GridView Displays data in a tabular format, supporting sorting, paging, and editing.
FormView Displays a single record from a data source and allows for data editing.
DetailsView Displays a single record from a data source and allows for data editing, similar to FormView but with a different layout.
TextBox A standard text input control.
Button A clickable button control.
DropDownList A drop-down list control.

Commonly Used Classes

System.Web Namespace

Classes for core HTTP processing and application management.

System.Web.UI Namespace

Classes for building user interfaces and managing the page lifecycle.

System.Web.UI.WebControls Namespace

A rich set of pre-built server controls.

Refer to the table above for a list of common controls.

Other Important Namespaces

Tip: For specific type definitions, methods, and properties, please refer to the detailed documentation linked within each namespace or class.