Common namespaces in. NET Framework

Source: Internet
Author: User
Tags configuration settings ldap hosting mail exchange smtpclient
Common namespace System. Collections in. NET Framework-it contains interfaces and classes that define a collection of various objects (such as lists, queues, arrays, hash tables, and dictionaries. System. collections. generic: contains interfaces and classes that define Generic sets. a Generic set allows you to create a strongly-typed set, which is superior to a non-Generic strong set in terms of type security and performance. System. IO-it supports synchronous and asynchronous reading and writing of data streams and files. System. text-it contains classes that represent ASCII, Unicode, UTF-7, and UTF-8 character encoding; abstract base classes used to convert character blocks and byte blocks back and forth; and the helper class for operating and formatting the String object without creating a String intermediate instance. System. Threading-provides classes and interfaces for enabling multi-threaded programming. This namespace includes a ThreadPool class for managing thread groups, a Timer class that enables the delegate to be called after the specified time, and a Mutex class for synchronizing Mutex threads. System. Threading also provides corresponding classes for Thread Scheduling and waiting for notifications.. NET Framework is a namespace used to manipulate and access Data: System. Data is composed of classes that constitute the ADO. NET structure. This structure is the primary Data access method for hosting applications. The ADO. NET structure allows you to generate components that can be used to effectively manage data from multiple data sources. ADO. NET also provides tools to request, update, and coordinate data in distributed applications. System. Data. Common-Contains classes shared by. NET Framework Data providers. The data provider describes a set of classes used to access data sources, such as databases, in a hosted space. System. Xml-classes that support XML processing according to standards. System. Data. OleDb-class that forms an ole db. NET Framework Data provider compatible with Data sources. These classes enable you to connect to the ole db data source, execute commands for the data source, and read the results. System. Data. SqlClient-a class that forms the SQL Server. NET Framework Data provider. This provider allows you to connect to SQL Server 7.0, execute commands, and read results. The System. Data. SqlClient namespace is similar to the System. Data. OleDb namespace, but is optimized to access SQL Server 7.0 and later versions. System. Data. SQL -- supports classes specific to SQL Server functions. System. Data. SqlTypes-provides some classes that are used for local Data types within SQL Server. These classes provide a safer and faster alternative to other data types. Microsoft. SqlServer. Server -- class, interface, and enumeration used to integrate Microsoft. NET Framework Common Language Runtime Library (CLR) with Microsoft SQL Server and SQL Server database engine process execution environment. System. Data. Odbc-the class that constitutes the ODBC. NET Framework Data provider. These classes can be used to access the ODBC data source in a hosted space. System. Data. OracleClient-class that forms the Orcale. NET Framework Data provider. These classes can be used to access the Oracle data source in a hosted space. System. Transactions -- allows you to write your own transactional applications and resource manager classes. Specifically, you can create a transaction and participate in the transaction (local or distributed) with one or more participants ). In. NET Framework, namespace for ASP. NET Web applications and XML Web services includes: System. Web-including classes and interfaces for enabling Browser/Server Communication. These namespaces are used to manage the HTTP output (HttpResponse) to the client and read the HTTP request (HttpRequest ). Additional classes provide some functions for server utilities as well as process, cookie management, file transmission, exception information, and output Cache control. System. Web. UI-contains the class for creating Web forms 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 the class for creating ASP. NET Web server controls. When added to a Web form, these controls display browser-specific HTML and scripts to create a device-independent Web user interface. System. Web. Mobile-includes the core functions required to generate ASP. NET Mobile Web applications, including identity authentication and error handling. System. Web. UI. MobileControls -- contains a group of ASP. NET Server controls that can present applications to different mobile devices. System. Web. Services-Contains classes that enable you to generate and use XML Web services. These Services are programmable entities that reside on Web servers and are made public through standard Internet protocols. In.. NET Framework, used to create a wide range of Windows applications and graphics namespace includes: System. windows. forms-it contains classes that can create Windows-based applications that take full advantage of the rich user interface features provided in Microsoft Windows. In this namespace, you will find the Form class and many other controls that can be added to the Form to create a user interface. System. Drawing-it allows you to access the basic graphics Functions of GDI +. The System. Drawing. Drawing2D, System. Drawing. Imaging, and System. Drawing. Text Namespaces provide more advanced functions. System. ServiceProcess-the class provided by ServiceProcess is used to install and run executable files that have no user interface and run for a long time. In. NET Framework, the namespace used to create your own components and controls includes: System. ComponentModel-the class it provides for implementing runtime and design behavior of components and controls. This namespace includes the basic classes and interfaces used to implement properties, Use Type converters, bind to data sources, and authorize components. The classes in this namespace are divided into the following categories: Core Component classes. For more information, see Component and Container classes and IContainer and IComponent interfaces. Component authorization. For more information, see the License, LicenseManager, LicenseProvider, and LicenseProviderAttribute classes. Attribute. For more information, see Attribute class. Description and persistence. For more information, see TypeDescriptor, EventDescriptor, and PropertyDescriptor classes. Type converter. For more information, see the TypeConverter class. System. CodeDOM-it contains classes that can be used to represent elements and structures of source code documents. In. NET Framework, namespaces used to interact with various backend server resources include: System. Diagnostics-the classes used to debug applications and track code execution. For more information, see tracking and debugging. The class provided by System. Diagnostics allows you to start System processes, read and write event logs, and monitor System performance using performance counters. For more information, see the Process, event log, and performance counter classes. System. DirectoryServices-it contains classes that facilitate access to Active Directory from managed code. Classes in this namespace can be used with any Active Directory service provider. The current providers include: Internet Information Service (IIS), Lightweight Directory Service Protocol (LDAP), Novell NetWare Directory Service (NDS), and Windows NT. For more information about Active Directory, see Directory service. System. Deployment. Application -- provides classes used to program custom upgrade behaviors to the ClickOnce Deployment overview Application. These classes allow your deployment to provide information on whether updates are available, install updates, and download large files and assemblies as needed. System. IO-it provides classes including FileSystemWatcher, which listens to file System change notifications and triggers events when files in directories or directories are changed. System. Media -- class used to play audio files and access the sounds provided by the System. System. Management-the class it provides is used to manage information and events related to the applications used by the System, device, and Windows Management Instrumentation (WMI) infrastructure. System. Messaging-the class provided by Messaging is used to connect to a message queue on the network, send messages to the queue, receive or view (read without removing) messages from the queue. System. ServiceProcess-the class it provides is used to install and run services. A service is an executable file that runs for a long time and does not run on the user interface. The service can be installed and run under a system account, which enables the service to start when the computer restarts. If the service exports its implementation from the ServiceBase class, they can define the specific behavior of the start, stop, pause, and continue command and the behavior taken when the system is shut down. System. Timers-provides a server-based timer component to trigger events at specified intervals. NET Framework network namespace includes: System. Net-the class it contains can provide simple programming interfaces for various protocols on the current network. The WebRequest and WebResponse classes form the foundation of the "pluggable protocol". With the implementation of this network service, you can develop applications that do not consider the specific details of the protocols used when using Internet resources. System. Net. Cache -- defines types and enumerations. These types and enumerations are used to define Cache policies for resources obtained using the WebRequest and HttpWebRequest classes. System. Net. Configuration -- the class that the application uses to programmatically access and update the Configuration settings of the System. Net namespace. System. Net. Mail -- a class used to send an email to a Simple Mail Transfer Protocol (SMTP) server. System. Net. Mime -- contains the type used to represent the multi-purpose Internet mail exchange (MIME) header. These types are used together with the types in the System. Net. Mail namespace. They are used to specify the Content-Type, Content-Disposition, and Content-transfer-Encoding headers when using the SmtpClient class to send an email. System. Net. NetworkInformation-provides access to network traffic data, network address information, and address change notifications of local computers. The namespace also contains the class that implements the Ping utility. You can use Ping and related classes to check whether a computer can be accessed over the network. System. Net. Sockets-provides Windows Socket (Winsock) interface hosting for developers who require strict network access control .. The Security namespace in the. NET Framework includes: System. Security-it provides the basic structure of the Security System of the public Language Runtime Library, including the permission base class. System. Net. Security-Provides network streams for secure communication between hosts. System. Web. Security-the class it contains is used to implement ASP. NET Security in Web applications. The Configuration namespace in. NET Framework includes: System. Configuration-Contains classes used to programmatically access. NET Framework Configuration settings and handle errors in the Configuration file. System. Configuration. Assemblies-contains the class used to configure the assembly. System. Configuration. Install-provides a class for writing custom installation programs for your components. System. Configuration. Provider -- contains the base classes shared by servers and client applications to support plug-in models for easy addition or removal of functions.
. NET Framework is a namespace used to manipulate and access Data: System. Data is composed of classes that constitute the ADO. NET structure. This structure is the primary Data access method for hosting applications. The ADO. NET structure allows you to generate components that can be used to effectively manage data from multiple data sources. ADO. NET also provides tools to request, update, and coordinate data in distributed applications. System. Data. Common-Contains classes shared by. NET Framework Data providers. The data provider describes a set of classes used to access data sources, such as databases, in a hosted space. System. Xml-classes that support XML processing according to standards. System. Data. OleDb-class that forms an ole db. NET Framework Data provider compatible with Data sources. These classes enable you to connect to the ole db data source, execute commands for the data source, and read the results. System. Data. SqlClient-a class that forms the SQL Server. NET Framework Data provider. This provider allows you to connect to SQL Server 7.0, execute commands, and read results. The System. Data. SqlClient namespace is similar to the System. Data. OleDb namespace, but is optimized to access SQL Server 7.0 and later versions. System. Data. SQL -- supports classes specific to SQL Server functions. System. Data. SqlTypes-provides some classes that are used for local Data types within SQL Server. These classes provide a safer and faster alternative to other data types. Microsoft. SqlServer. Server -- class, interface, and enumeration used to integrate Microsoft. NET Framework Common Language Runtime Library (CLR) with Microsoft SQL Server and SQL Server database engine process execution environment. System. Data. Odbc-the class that constitutes the ODBC. NET Framework Data provider. These classes can be used to access the ODBC data source in a hosted space. System. Data. OracleClient-class that forms the Orcale. NET Framework Data provider. These classes can be used to access the Oracle data source in a hosted space. System. Transactions -- allows you to write your own transactional applications and resource manager classes. Specifically, you can create a transaction and participate in the transaction (local or distributed) with one or more participants )... NET Framework. The namespace for ASP. NET Web applications and XML Web services includes: System. Web-including classes and interfaces for enabling Browser/Server Communication. These namespaces are used to manage the HTTP output (HttpResponse) to the client and read the HTTP request (HttpRequest ). Additional classes provide some functions for server utilities as well as process, cookie management, file transmission, exception information, and output Cache control. System. Web. UI-contains the class for creating Web forms 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 the class for creating ASP. NET Web server controls. When added to a Web form, these controls display browser-specific HTML and scripts to create a device-independent Web user interface. System. Web. Mobile-includes the core functions required to generate ASP. NET Mobile Web applications, including identity authentication and error handling. System. Web. UI. MobileControls -- contains a group of ASP. NET Server controls that can present applications to different mobile devices. System. Web. Services-Contains classes that enable you to generate and use XML Web services. These Services are programmable entities that reside on Web servers and are made public through standard Internet protocols. In.. NET Framework, used to create a wide range of Windows applications and graphics namespace includes: System. windows. forms-it contains classes that can create Windows-based applications that take full advantage of the rich user interface features provided in Microsoft Windows. In this namespace, you will find the Form class and many other controls that can be added to the Form to create a user interface. System. Drawing-it allows you to access the basic graphics Functions of GDI +. The System. Drawing. Drawing2D, System. Drawing. Imaging, and System. Drawing. Text Namespaces provide more advanced functions. System. ServiceProcess-the class provided by ServiceProcess is used to install and run executable files that have no user interface and run for a long time. In. NET Framework, the namespace used to create your own components and controls includes: System. ComponentModel-the class it provides for implementing runtime and design behavior of components and controls. This namespace includes the basic classes and interfaces used to implement properties, Use Type converters, bind to data sources, and authorize components. The classes in this namespace are divided into the following categories: Core Component classes. For more information, see Component and Container classes and IContainer and IComponent interfaces. Component authorization. For more information, see the License, LicenseManager, LicenseProvider, and LicenseProviderAttribute classes. Attribute. For more information, see Attribute class. Description and persistence. For more information, see TypeDescriptor, EventDescriptor, and PropertyDescriptor classes. Type converter. For more information, see the TypeConverter class. System. CodeDOM-it contains classes that can be used to represent elements and structures of source code documents. In. NET Framework, namespaces used to interact with various backend server resources include: System. Diagnostics-the classes used to debug applications and track code execution. For more information, see tracking and debugging. The class provided by System. Diagnostics allows you to start System processes, read and write event logs, and monitor System performance using performance counters. For more information, see the Process, event log, and performance counter classes. System. DirectoryServices-it contains classes that facilitate access to Active Directory from managed code. Classes in this namespace can be used with any Active Directory service provider. The current providers include: Internet Information Service (IIS), Lightweight Directory Service Protocol (LDAP), Novell NetWare Directory Service (NDS), and Windows NT. For more information about Active Directory, see Directory service. System. Deployment. Application -- provides classes used to program custom upgrade behaviors to the ClickOnce Deployment overview Application. These classes allow your deployment to provide information on whether updates are available, install updates, and download large files and assemblies as needed. System. IO-it provides classes including FileSystemWatcher, which listens to file System change notifications and triggers events when files in directories or directories are changed. System. Media -- class used to play audio files and access the sounds provided by the System. System. Management-the class it provides is used to manage information and events related to the applications used by the System, device, and Windows Management Instrumentation (WMI) infrastructure. System. Messaging-the class provided by Messaging is used to connect to a message queue on the network, send messages to the queue, receive or view (read without removing) messages from the queue. System. ServiceProcess-the class it provides is used to install and run services. A service is an executable file that runs for a long time and does not run on the user interface. The service can be installed and run under a system account, which enables the service to start when the computer restarts. If the service exports its implementation from the ServiceBase class, they can define the specific behavior of the start, stop, pause, and continue command and the behavior taken when the system is shut down. System. Timers-provides a server-based timer component to trigger events at specified intervals. NET Framework network namespace includes: System. Net-the class it contains can provide simple programming interfaces for various protocols on the current network. The WebRequest and WebResponse classes form the foundation of the "pluggable protocol". With the implementation of this network service, you can develop applications that do not consider the specific details of the protocols used when using Internet resources. System. Net. Cache -- defines types and enumerations. These types and enumerations are used to define Cache policies for resources obtained using the WebRequest and HttpWebRequest classes. System. Net. Configuration -- the class that the application uses to programmatically access and update the Configuration settings of the System. Net namespace. System. Net. Mail -- a class used to send an email to a Simple Mail Transfer Protocol (SMTP) server. System. Net. Mime -- contains the type used to represent the multi-purpose Internet mail exchange (MIME) header. These types are used together with the types in the System. Net. Mail namespace. They are used to specify the Content-Type, Content-Disposition, and Content-transfer-Encoding headers when using the SmtpClient class to send an email. System. Net. NetworkInformation-provides access to network traffic data, network address information, and address change notifications of local computers. The namespace also contains the class that implements the Ping utility. You can use Ping and related classes to check whether a computer can be accessed over the network. System. Net. Sockets-provides Windows Socket (Winsock) interface hosting for developers who require strict network access control .. The Security namespace in the. NET Framework includes: System. Security-it provides the basic structure of the Security System of the public Language Runtime Library, including the permission base class. System. Net. Security-Provides network streams for secure communication between hosts. System. Web. Security-the class contained in it is used to implement ASP. NET Security in Web applications .. The Configuration namespace in the. NET Framework includes: System. Configuration-Contains classes used to programmatically access. NET Framework Configuration settings and handle errors in the Configuration file. System. Configuration. Assemblies-contains the class used to configure the assembly. System. Configuration. Install-provides a class for writing custom installation programs for your components. System. Configuration. Provider -- contains the base classes shared by servers and client applications to support plug-in models for easy addition or removal of functions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.