📜  .Net Framework类库(FCL)

📅  最后修改于: 2020-11-01 01:43:36             🧑  作者: Mango

.NET Framework类库

.NET Framework类库是用于.NET应用程序的类,名称空间,接口和值类型的集合。

它包含支持以下功能的数千个类。

  • 基本和用户定义的数据类型
  • 支持异常处理
  • 输入/输出和流操作
  • 与底层系统的通信
  • 存取资料
  • 能够创建基于Windows的GUI应用程序
  • 能够创建Web客户端和服务器应用程序
  • 支持创建Web服务

.NET Framework类库命名空间

以下是包含有用的类和接口并在Framework类库中定义的常用命名空间。

Namespaces Description
System It includes all common datatypes, string values, arrays and methods for data conversion.
System.Data, System.Data.Common, System.Data.OleDb, System.Data.SqlClient, System.Data.SqlTypes These are used to access a database, perform commands on a database and retrieve database.
System.IO, System.DirectoryServices, System.IO.IsolatedStorage These are used to access, read and write files.
System.Diagnostics It is used to debug and trace the execution of an application.
System.Net, System.Net.Sockets These are used to communicate over the Internet when creating peer-to-peer applications.
System.Windows.Forms, System.Windows.Forms.Design These namespaces are used to create Windows-based applications using Windows user interface components.
System.Web, System.WebCaching, System.Web.UI, System.Web.UI.Design, System.Web.UI.WebControls, System.Web.UI.HtmlControls, System.Web.Configuration, System.Web.Hosting, System.Web.Mail, System.Web.SessionState These are used to create ASP. NET Web applications that run over the web.
System.Web.Services, System.Web.Services.Description, System.Web.Services.Configuration, System.Web.Services.Discovery, System.Web.Services.Protocols These are used to create XML Web services and components that can be published over the web.
System.Security, System.Security.Permissions, System.Security.Policy, System.WebSecurity, System.Security.Cryptography These are used for authentication, authorization, and encryption purpose.
System.Xml, System.Xml.Schema, System.Xml.Serialization, System.Xml.XPath, System.Xml.Xsl These namespaces are used to create and access XML files.

.NET Framework基类库

.NET基本类库是框架的子部分,该框架为公共语言运行库提供库支持以使其正常工作。它包括.NET框架的系统名称空间和核心类型。