System.Web Namespaces



TheSystem.Web namespaces contain types that enable browser/server communication.Child namespaces include types that support ASP.NET forms authentication,application services, data caching on the server, ASP.NET applicationconfiguration, dynamic data, HTTP handlers, JSON serialization, incorporatingAJAX functionality into ASP.NET, ASP.NET security, and web services.

Namespaces


Namespace

Description

System.Web

The System.Web namespace supplies classes and interfaces that enable browser-server communication. This namespace includes theHttpRequest class, which provides extensive information about the current HTTP request; the HttpResponse class, which manages HTTP output to the client; and the HttpServerUtility class, which provides access to server-side utilities and processes. System.Web also includes classes for cookie manipulation, file transfer, exception information, and output cache control.

System.Web.ApplicationServices

The System.Web.ApplicationServices namespace provides classes that enable you to access ASP.NET forms authentication, roles, and profiles application services as Windows Communication Foundation (WCF) services.

System.Web.Caching

The System.Web.Caching namespace provides classes for caching frequently used data on the server.

System.Web.ClientServices

The System.Web.ClientServices namespace provides classes that support access in Windows-based applications to the Microsoft Ajax authentication, roles, and profiles services. 

System.Web.ClientServices.Providers

The System.Web.ClientServices.Providers namespace contains client service providers and other classes that support access in Windows-based applications to the Microsoft Ajax authentication, roles, and profile services.

System.Web.Compilation

The System.Web.Compilation namespace contains classes for generating and compiling custom file types within the ASP.NET build environment.

System.Web.Configuration

The System.Web.Configuration namespace contains classes that are used to set up ASP.NET configuration.

System.Web.Configuration.Internal

The System.Web.Configuration.Internal namespace contains configuration types intended for internal use only.

System.Web.DynamicData

The System.Web.DynamicData namespace contains classes that provide the core functionality for ASP.NET Dynamic Data. It also provides extensibility features that let you customize dynamic data behavior.

System.Web.DynamicData.Design

The System.Web.DynamicData.Design namespace contains classes that provide design-time support for the classes in theSystem.Web.DynamicData namespace.

System.Web.DynamicData.ModelProviders

The System.Web.DynamicData.ModelProviders namespace contains classes that define the core functionality for ASP.NET Dynamic Data providers.

System.Web.Handlers

The System.Web.Handlers namespace contains HTTP handler classes that process HTTP requests to a Web server.

System.Web.Hosting

The System.Web.Hosting namespace provides the functionality for hosting ASP.NET applications from managed applications outside Microsoft Internet Information Services (IIS).

System.Web.Instrumentation

The System.Web.Instrumentation namespace contains types that provide information about current page execution, that include execution listeners and instrumentation, and that include methods that are called before and after view engine renders output.

System.Web.Mail

The classes in this namespace have been deprecated. Use theSystem.Net.Mail namespace instead. The System.Web.Mail namespace contains classes that enable you to construct and send messages using the CDOSYS (Collaboration Data Objects for Windows 2000) message component. The mail message is delivered either through the SMTP mail service built into Microsoft Windows 2000 or through an arbitrary SMTP server. The classes in this namespace can be used from ASP.NET or from any managed application.

System.Web.Management

The System.Web.Management namespace contains classes and interfaces for managing and monitoring the health of Web applications.

System.Web.Mobile

The System.Web.Mobile namespace contains the core capabilities, including authentication and error handling, required for building ASP.NET mobile Web applications. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobileWeb site.

System.Web.ModelBinding

The System.Web.ModelBinding namespace provides classes that enable you to bind data objects to ASP.NET Web Forms server controls.

System.Web.Profile

The System.Web.Profile namespace contains classes that are used to work with ASP.NET user profiles in Web server applications.

System.Web.Query.Dynamic

The System.Web.Query.Dynamic namespace contains classes that are used to parse expressions from a LinqDataSource control into a language-integrated query (LINQ).

System.Web.RegularExpressions

The System.Web.RegularExpressions namespace provides precompiled regular expressions that can be used to parse ASP.NET files. All members of the System.Web.RegularExpressions namespace are descendants of the Regex class.

System.Web.Routing

The System.Web.Routing namespace provides classes that are used with URL routing, which enables you to use URLs that do not map to a physical file.

System.Web.Script

The System.Web.Script namespace contains classes that provide script resource information.

System.Web.Script.Serialization

The System.Web.Script.Serialization namespace contains classes that provide JavaScript Object Notation (JSON) serialization and deserialization for managed types. It also provides extensibility features to customize serialization behavior.

System.Web.Script.Services

The System.Web.Script.Services namespace provides attributes that let you customize Web service support for AJAX functionality in ASP.NET.

System.Web.Security

The System.Web.Security namespace contains classes that are used to implement ASP.NET security in Web server applications.

System.Web.Security.AntiXss

Contains methods that you can use to encode strings in order help you protect your application against cross-site scripting (XSS) attacks and LDAP injection attacks.

System.Web.Services

The System.Web.Services namespace consists of the classes that enable you to create XML Web services using ASP.NET and XML Web service clients. XML Web services are applications that provide the ability to exchange messages in a loosely coupled environment using standard protocols such as HTTP, XML, XSD, SOAP, and WSDL. XML Web services enable the building of modular applications within and across companies in heterogeneous environments making them interoperable with a broad variety of implementations, platforms and devices. The SOAP-based XML messages of these applications can have well-defined (structured and typed), or loosely defined parts (using arbitrary XML). The ability of the messages to evolve over time without breaking the protocol is fundamental to the flexibility and robustness of XML Web services as a building block for the future of the Web.

System.Web.Services.Configuration

The System.Web.Services.Configuration namespace consists of the classes that configure how XML Web services created using ASP.NET run.

System.Web.Services.Description

The System.Web.Services.Description namespace consists of the classes that enable you to publicly describe an XML Web service by using the Web Services Description Language (WSDL). Each class in this namespace corresponds to a specific element in the WSDL specification, and the class hierarchy corresponds to the XML structure of a valid WSDL document. For more information about WSDL, see the specification at the W3C Web site (http://www.w3.org/TR/wsdl/).

System.Web.Services.Discovery

The System.Web.Services.Discovery namespace consists of the classes that allows XML Web service clients to locate the available XML Web services on a Web server through a process called XML Web services Discovery.

System.Web.Services.Protocols

The System.Web.Services.Protocols namespace consists of the classes that define the protocols used to transmit data across the wire during the communication between XML Web service clients and XML Web services created using ASP.NET.

System.Web.SessionState

The System.Web.SessionState namespace supplies classes and interfaces that enable storage of data specific to a single client within a Web application on the server. The session-state data is used to give the client the appearance of a persistent connection with the application. State information can be stored within local process memory or, for Web farm configurations, it can be stored out of process using either the ASP.NET State service or a Microsoft SQL Server database.

System.Web.UI

The System.Web.UI namespace provides classes and interfaces that enable you to create ASP.NET server controls and ASP.NET Web pages for the user interface of your ASP.NET Web applications.

System.Web.UI.Adapters

The System.Web.UI.Adapters namespace contains the base classes for control adapters and page adapters. You can use these adapters to override the life-cycle states of pages and controls. This is useful if you want to modify a control's markup or behavior for new markup standards or for specific browsers.

System.Web.UI.DataVisualization.Charting

The System.Web.UI.DataVisualization.Charting namespace contains methods and properties for the Chart Web server control.

System.Web.UI.Design

The System.Web.UI.Design namespace contains classes that can be used to extend design-time support for ASP.NET Web pages and for Web server controls.

System.Web.UI.Design.Directives

The System.Web.UI.Design.Directives namespace contains classes that can be used to extend design-time support for ASP.NET Web page directives.

System.Web.UI.Design.MobileControls

The System.Web.UI.Design.MobileControls namespace contains classes that provide design-time support for the classes in theSystem.Web.UI.MobileControls namespace. For information about how to develop ASP.NET mobile applications, see thewww.asp.net/mobile Web site.

System.Web.UI.Design.MobileControls.Converters

The System.Web.UI.Design.MobileControls.Converters namespace contains classes that provide design-time support for data type converters in mobile controls. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System.Web.UI.Design.WebControls

The System.Web.UI.Design.WebControls namespace contains classes that can be used to extend design-time support for Web server controls.

System.Web.UI.Design.WebControls.WebParts

The System.Web.UI.Design.WebControls.WebParts namespace contains classes that provide design-time support for controls derived from classes in the System.Web.UI.WebControls.WebParts namespace.

System.Web.UI.HtmlControls

The System.Web.UI.HtmlControls namespace contains classes that allow you to create HTML server controls on a Web Forms page. HTML server controls run on the server and map directly to standard HTML tags supported by most browsers. This allows you to programmatically control the HTML elements on a Web Forms page.

System.Web.UI.MobileControls

The System.Web.UI.MobileControls namespace contains a set of ASP.NET server controls that can render your application for different mobile devices. The APIs in this namespace are obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System.Web.UI.MobileControls.Adapters

The System.Web.UI.MobileControls.Adapters namespace contains classes you can use to override the life-cycle stages of a mobile control to modify its default HTML, CHTML, or WML markup or behavior for new markup standards or for specific browsers and mobile devices. The APIs in this namespace are obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System.Web.UI.MobileControls.Adapters.XhtmlAdapters

The System.Web.UI.MobileControls.Adapters.XhtmlAdaptersnamespace contains classes you can use to override the life-cycle stages of a mobile control to modify its default XHTML markup or behavior for new markup standards or for specific browsers and mobile devices. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System.Web.UI.WebControls

The System.Web.UI.WebControls namespace contains classes that allow you to create Web server controls on a Web page. Web server controls run on the server and include form controls such as buttons and text boxes. They also include special-purpose controls such as a calendar. Because Web server controls run on the server, you can programmatically control these elements. Although Web server controls are rendered as HTML, their object model does not necessarily reflect HTML syntax.

System.Web.UI.WebControls.Adapters

The System.Web.UI.WebControls.Adapters namespace contains classes that you can use to override the life-cycle stages of a Web control. The classes enable you to modify a control's markup or behavior for new markup standards or for specific browsers.

System.Web.UI.WebControls.Expressions

The System.Web.UI.WebControls.Expressions namespace provides classes that enable you to filter data in a Web page by using theQueryExtender control.

System.Web.UI.WebControls.WebParts

The System.Web.UI.WebControls.WebParts namespace contains classes and interfaces known collectively as the Web Parts control set. You can use these classes to create Web pages whose appearance and behavior can be modified (personalized) by end users. Each user's personalized settings for a page are saved for future browser sessions.

System.Web.Util

The System.Web.Util namespace is a collection of classes that enable callback methods to be run under the scope of a transaction and that enable work to be posted to separate threads.

System.Web.WebSockets

The System.Web.WebSockets namespace contains classes that support adding WebSocket functionality to ASP.NET Web Forms applications.

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值