Wednesday, June 20, 2007

.Net FrameWork

1)Platform Independent
2)Language Independent
3)Language Interoperability
4)To Support Pure Object Oriented Programming Synopsis

The .NET Framework is a development platform
.NET Framework based on a standard execution engine

.NET Framework can be classified into two main functionalities. They are:
1) Common Language Runtime (CLR) is Windows implementation
2) .NET programming based on Framework Class Libraries (FCL)

The main tasks of CLR are:
1) Memory Management
2) Common Type System
3) Garbage Collection
Let us discuss the above tasks of the CLR in detail:

1) Memory Management:

This Process is automatically done by the CLR.
No reference Counting.
No Manual Management of memory is required.
Management of memory is done automatically without manual intervention.
It takes exactly the memory space required for the program to run.

2) Common Type System:

Provides built-in data types.
Provides mechanism to define, manage and use new types.
Provide common type representation across all languages.
Cross language inheritance, exceptions, etc.
Common language Specification (CLS) is nothing but a set of rules that are to be followed if a program has to execute according to the .Net Framework.
If the rules are followed then the code is called Managed Code and the CLR can only process the managed code.
The program that does not follow these set of rules are called UnManaged Code.
The CLR can’t process these type of unmanaged code.

3)Garbage Collector:

Completely frees the developer from tracking memory usage and knowing when to free memory
Continuously monitors the application
Tracks the location of roots of the application.
This is the latest technology that supports .Net Framework. The CLR removes any unwanted and free memory which is not being used. The unwanted application space will be released after some time so as to be used by another application in future.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home