Focus on Microsoft Technologies - Tutorials, Articles, Code Samples.

Tuesday, September 16, 2008

What do you know about BCL?

image The BCL (Base Class Library) is a combination of classes or we can say that it’s a library of functionalities and types available to all languages that used in .NET Framework. To make the programmer job more easier dot net gave a advantage to includes the BCL in order to collect a large number of common functions, just like to read a file and write to file, graphic rendering, database interaction, and XML document manipulation at one place . The scope of this is large and standard libraries for most other languages, including C++, and would be comparable in scope to the standard libraries is just like Java. The BCL is sometimes incorrectly referred to as the Framework Class Library (FCL), which is a superset including the Microsoft namespaces.


Some of the namespaces may or may not be officially considered part of the BCL by Microsoft, but all are included as part of the standard libraries that are provided with the .NET Framework.

This namespace includes the core needs for programming. It includes base types like String, DateTime, Boolean, and so forth, support for environments such as the console, math functions, and base classes for attributes, exceptions, and arrays.
This library provides the ability to create code and run it, at runtime.[1]
Defines many common containers or collections used in programming, such as lists, queues, stacks, hashtables, and dictionaries. It includes support for generics.
Provides the ability to implement the run-time and design-time behavior of components and controls. It contains the infrastructure "for implementing attributes and type converters, binding to data sources, and licensing components".[2]
Provides the infrastructure for handling configuration data.
This namespace represents the ADO.NET architecture, which is set of computer software components that can be used by programmers to access data and data services.
Allows you to customize the way your application upgrades when using ClickOnce.
Gives you the ability to diagnose your application. It includes event logging, performance counters, tracing, and interaction with system processes.
Provides easy access to Active Directory from managed code.
Provides access to GDI+ graphics functionality, including support for 2D and vector graphics, imaging, printing, and text services.
Provides help for writing internationalized applications. "Culture-related information, including the language, the country/region, the calendars in use, [and] the format patterns for dates, currency, and numbers" can be defined.[3]
Allows you to read from and write to different streams, such as files or other data streams. Also provides a connection to the file system.
Allows you to query for information, "such as how much free space is left on the disk, what is the current CPU utilization, which database a certain application is connected to, and much more."[4]
Provides you the ability to play system sounds and .wav files.
Allows you "to connect to, monitor, and administer message queues on the network and send, receive, or peek messages."[5] .NET Remoting is another name for some of the functionality provided. This namespace is being superseded by Windows Communication Foundation.
Provides an interface "for many of the protocols used on networks today",[6] such as HTTP, FTP, and SMTP. Secure communication is supported by protocols such as SSL.
Defines the IQueryable<T> interface and related methods, that lets LINQ providers to be plugged in.
Allows Delegates and Lambda expressions to be represeted as expression trees, so that the high-level code can be examined and processed at runtime.
Provides an object view of types, methods, and fields. You have "the ability to dynamically create and invoke types".[7] It exposes the API to access the Reflective programmingcapabilities of CLR.
Allows you to manage many different resources in the application in order to internationalize an application for different cultures and languages.
Allows you to manage the runtime behavior of an application or the CLR. Some of the included abilities are interoping with COM or other native code, writing distributed applications, and serializing objects into binary or SOAP.
"Provides the underlying structure of the common language runtime security system."[8] This namespace allows you to build security into your application based on policy and permissions. It provides services such as cryptography.
Allows you to create applications that run as a service within Windows.
Supports various encodings, regular expressions, and a more efficient mechanism for manipulating strings (StringBuilder).
Helps facilitate multithreaded programming. It allows the synchronizing of "thread activities and access to data" and provides "a pool of system-supplied threads".[9]
"Allows you to raise an event on a specified interval."[10]
Provides support for local or distributed transactions.

Post a Comment