What are the components of the .Net Framework - .NET Framework

What are the components of the .Net Framework?

- .Net framework provides tools and technologies to develop windows and web applications.

The .Net framework mainly contains two components:

1. Common Language Runtime(CLR)
2. .Net Framework Class Library (FCL)

- It provides the necessary compile and run time foundation to build and run any language.

1. Common Language Runtime(CLR):
- It provides runtime environment.
- It runs all the .Net programs.
- CLR provides memory management and thread management.
- It allocates the memory for scope and deallocates the memory.

2. .Net Framework Class Library(FCL):
- It accesses the library classes and methods.
- It is also called as Base Class Library.
- It is common for all types of application.

Following are the applications in .Net Class Library:
a. XML web services
b. Windows services
c. Windows application
d. Web applications
e. Console application

3. Common Type System(CTS):
- CTS describes the set of datatypes which is used in different .Net languages.
- It ensures that objects are written in different .Net languages.

It supports two categories of types:

a. Value type:
- It is allocated on the stack or inline in a structure.
- It can be built-in types, user-defined or enumerations.

b. Reference type:
- It stores a reference to the value's memory address and allocated on the heap.
- It can be self-describing types, pointer types or interface types.

4. Common Language Specification(CLS):
- CLS specifies a set of rules.
- It is a subset of CTS.
- CLS helps in cross language inheritance and debugging.
- CLS ensures that the products of compilers will work properly in .NET environment.
Explain the role of assembly in the .Net Framework - .NET Framework
DOT.NET - .Net Framework keeps executable code or DLL in the form of assembly....
Describe the GAC in the .Net Framework - .NET Framework
.Net Framework provides Global Assembly cache, a machine-wide cache...
What is the advantage of packaging over xcopy in .NET? - .NET Framework
.NET Framework - The most trivial technique to publish a website is to simply copy your web application files to the production server.....
Post your comment