Introduction of .Net Namespace
.Net Namespace: -
Introduction
Namespaces are the
way to organize .NET Framework Class Library into a logical
grouping according to their functionality, usability as well as category. Namespaces are logical
grouping of types for the purpose of easy identification.
The .NET Framework Class Library
(FCL ) is a large collection of thousands of Classes. These Classes are
organized in a hierarchical tree. The System Namespaces is the root for types
in the .NET Framework.
We can uniquely
identify any Class in the .NET Framework Class Library (FCL ) by using the full
Namespaces of the class .In .Net language every program is created with a
default Namespaces . Programmers can also create their own Namespaces in .Net
languages.
The namespace which are created by the user is called
user defined namespace. The namespace which are provided by the .NET is called
predefined namespace.
The following are the some predefine namespace in .NET
1. System:- The System namespace contains
fundamental classes and base classes that define commonly-used value and
reference data types, events and event handlers, interfaces, attributes, and
exceptions classes.
2.
System.Configuration:- The System.Configuration namespaces contain types for handling
configuration data, such as data in machine or application configuration files.
3.
System.Data:- The System.Data namespaces contain classes for accessing and
managing data from different sources. This namespace contains the classes which
are used to access data from the sql server,oracle and MS access database. The System.Data
and its child namespace form the ADO.NET architecture.
4. System.Diagnostics:- The
System.Diagnostics namespaces contain classes that enable us to interact with
system processes, event logs, and performance counters.
5.
System.Drawing:- The System.Drawing parent namespace contains classes that support
basic GDI+ graphics functionality. Child namespaces support advanced
two-dimensional and vector graphics functionality, advanced imaging
functionality, and print- relatedservices.
6.
System.Globalization:- The System.Globalization namespace contains classes that define
culture- related information, including language, country/region, calendars, and
format patterns for dates and currency. These classes are useful for writing
globalized (internationalized) applications.
7.
System.IO:- The System.IO namespaces contain classes that are used to perform
the operations on the files and folder. System.IO namespace allow the user to read
and write data from the files. This namespace allow the user to create a folder,
delete a folder and many more operations on the folder.
8.
System.Net:- The System.Net namespaces contain classes that are used to create
network based application in .NET. This Namespace provide a simple programming
interface for a number of network protocols such as HTTP, TCP, IP etc which are
used to programmatically access and update configuration settings of the
Network.
9. System.Security:- The System. Security
namespaces contain classes that represent the .NET Framework security system
and permissions. This namespace provides the classes for control access to objects,
audit securable objects, allow authentication, provide cryptographic services,
control access to resources and support rights management of application.
10. System.Web:- The System. Web namespaces
contain classes that allow the developer to create web based application. This
namespace also provide the classes for data caching, HTTP handlers, incorporating
AJAX functionality into ASP.NET and web services.
11. System.Windows:- The System.Windows
namespaces contain the classes which are used in Windows Presentation
Foundation (WPF) applications, including animation clients, user interface
controls, data binding, and type conversion. System.Windows.Forms and its child namespaces
are used for developing Windows Forms applications.
Comments
Post a Comment