csharp

FrameWork Class Library (FCL) in C#

Framework Class Library (FCL):

Framework Class Library(FCL):- One component of the .NET Framework is THE FCL (Framework Class Library) DLL builds with several thousand definitions of types, each of which provides some functionality. Company Microsoft develops additional libraries such as Windows Azure SDK and DirectX SDK. These libraries contain even more types by providing even more functionality at your disposal. Now that Microsoft is phenomenal speed produces a huge number of libraries, it’s easier than ever to use Microsoft technology.

Below are some types of applications that can be created by developers using these assemblies:



Web services of framework class library:

Microsoft technologies ASP.NET XML Web Service, and Windows The Communication Foundation (WCF) makes it very easy to create methods for handling messages sent over the Internet.

Web Forms applications/HTML-based MVC applications:

As a rule, applications ASP.NET they make requests to databases and calls to web services, combine and filter the received information, and then present it in the browser using an extended HTML-based user interface.

Windows application with an enhanced graphical user interface:

 Instead of implementing the user interface of applications in the form of web pages, you can use more powerful and high-performance functionality provided by Windows Store technologies, WPF (Windows Presentation Foundation) and Windows Forms. Such applications can use the events of controls, menus, touch screen, mouse, pen, and keyboard, and can also exchange information with the operating system, issue requests access databases, and use web services.

Windows console applications:

Console applications are a simple and fast option for creating applications with minimal user interface requirements. Compilers, utilities, and auxiliary tools are often implemented as console applications.


Windows services of Framework class library:

Yes, it is now possible to build services, managed through Windows SCM (Service Control Manager) using .NET Framework.

Database stored procedures:

Database servers Microsoft SQL Server, IBM DB2 and Oracle enable developers to write their stored procedures using the .NET Framework.

Component libraries:

.NET Framework class library allows you to create standalone assemblies (components) with types that are easily embedded in the applications of all impending varieties.

Note:

Visual Studio also provides the Portable Class Library project type for creating class library assemblies that work with different types of applications, including classic applications . NET Framework, Silverlight applications, Windows Phone, Windows Store and Xbox 360.


Since the Framework Class Library (FCL ) contains literally thousands of types, related types are combined into a single namespace. For example, the System namespace (which you should study as best you can) contains the base type Object – “ancestor” all other types in the system. Additionally, the System namespace contains types for integers, characters, strings, exception handling and console input-output, as well as a set of helper types that implement safe conversions between data types, formatting, random generation numbers and performing mathematical functions. All applications use types from the System namespace.

To use the features of Framework Class Library, you need to know which namespace contains the types that provide the desired functionality. Many types support customizing their behavior; to do this, the type is simply declared derived from the desired Framework Class Library (FCL) type. The object-oriented nature of the platform manifests itself in how. The NET Framework provides developers with a single programming paradigm. In addition, the developer can easily create custom namespaces containing its types. These spaces and types are easily integrated into the programming paradigm. Compared to the Win32 programming paradigm, the new approach greatly simplifies the development process.

Most namespaces in FCL(Framework Class Library) contain types that can be used in any kind of application. Table 1 lists some common namespaces and the main uses for the types of these namespaces. This is a very small sample of the available namespaces – to learn more about the ever-expanding array of namespaces created by the company Microsoft, refer to the documentation of the various Microsoft SDK packages.



Table 1: Some Framework Class Library namespaces

Namespace Description
System All basic types used in applications
System.Data Types for interacting with databases and processing data
System.IO Types of streaming I / O, directory tree traversal and file traversal
System.Net Types for low-level network communications and use common Internet protocols
System.Runtime.InteropServices Types that allow managed code to work with unmanaged code platform tools (COM components, functions with Win32 and DLL libraries)
System.Security Types of data and resource protection
System.Text Types for working with different encodings (such as ANSI and Unicode)
System.Threading Types of Asynchronous Operations and Access Synchronization to resources
System.Xml Types for handling schema and XML data


Related Article:

IL Code: What is Intermediate Language in c#

Common Language Runtime in C#

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button