This documentation is archived and is not being maintained.

Web Namespaces in Visual Studio 

The namespaces in the .NET Framework about ASP.NET Web applications and XML Web services include:

  • System.Web - contains classes and interfaces that enable browser/server communication. This namespace classes for managing HTTP output to the client (HttpResponse) and reading HTTP requests (HttpRequest). Additional classes provide facilities for server-side utilities and processes, cookie manipulation, file transfer, exception information, and output cache control.

  • System.Web.UI – contains classes for creating Web Form pages, including the Page class and other standard classes used to create Web user interfaces.

  • System.Web.UI.HtmlControls – contains classes for HTML-specific controls that can be added to Web Forms to create Web user interfaces.

  • System.Web.UI.WebControls – contains classes for creating ASP.NET Web sever controls. When added to a Web Form, these controls render browser-specific HTML and script to create a device-independent Web user interface.

  • System.Web.Mobile - contains the core capabilities, including authentication and error handling, required for building ASP.NET mobile Web applications.

  • System.Web.UI.MobileControls - contains a set of ASP.NET server controls that can render your application for different mobile devices.

  • System.Web.Services - contains classes that enable you to build and use XML Web services, which are programmable entities residing on a Web server and exposed via standard Internet protocols.

Related Sections

ASP.NET Web Applications

Provides an overview of the components of an ASP.NET Web application, including Web Forms and XML Web services.

ASP.NET Web Pages

Provides links to topics that describe what Web Forms pages are, the architecture of Web Forms pages, and how to create and work with Web Forms pages.

Programming the Web with XML Web Services

Provides information about creating and accessing XML Web services.

Web Site Projects and Solutions

Explains basic concepts about creating and managing ASP.NET Web applications.

Web Forms Application Walkthroughs

Lists all the step-by-step topics that incorporate Web Forms pages.

Windows Forms and Web Forms Recommendations

Discusses considerations when choosing between the two forms packages.

Introduction to the .NET Framework Class Library in Visual Studio

Provides an overview of the namespaces in the .NET Framework.

Application Developer's Guide

A guide to developing compelling Microsoft ASP.NET mobile Web applications.

ASP.NET Web Server Controls (Visual Studio)

Provides information about creating custom controls for Web Forms pages.

IBuySpy Web Site (

Provides sample code for ASP.NET development.

MSDN Web Site (

Provides the latest information about XML Web services, ASP.NET, and other Microsoft technologies.

See Also