Microsoft defines .NET framework as "The .NET Framework is a development and execution environment that allows different programming languages and libraries to work together seamlessly to create Windows-based applications that are easier to build, manage, deploy, and integrate with other networked systems."
The main components of .NET framework :
- Several programming languages (e.g: VB, C#, J#)
- Class libraries (pre-coded solutions)
- Common Language Runtime (CLR)
- ASP.NET Engine
- Visual Studio (a convenient IDE)
The image above shows that all codes in .net framework to be executed against the system must pass by the Common Language Runtime (CLR) which means CLR is the agent that manages code. CLR also provides memory management and thread management among others. So there is a kind of unification among the programming languages you use as far as codes are executed by the same agent (CLR) no matter which language generates. Note: when we say codes are executed by CLR we don't mean source codes but source codes must be compiled first by the compiler of the language we are using. The compiled code then is in the form of Intermediate Language (IL) which is assembly language format understandable by the CLR.
See how codes are compiled into IL then executed by the notorious CLR |
Features of .NET framework includes:Image Source: ASP Free
- Easier and quicker programming
- Simplified Development and Deployment
- Larger class library (largely reduced amount of code we write)
- Language Independency
- Language Integration
This comment has been removed by a blog administrator.
ReplyDelete