@Blog.Author(Nandip Makwana) .LearningExperience(ASP.NET, ASP.NET MVC, IIS, jQuery & Technology Surrounding it...)

May 20, 2009 comment

What is Common Language Runtime (CLR) in .NET Framework?

Common Language Runtime or CLR is the core part of .NET Framework. Common Language Runtime or CLR is responsible for executing your application code. Code running under the control of CLR is also called managed code.
.
When you write an application for the .NET Framework with a language such as C# or Visual Basic .NET, your source code is never compiled directly into machine code.
.
Instead, the C# or Visual Basic compiler converts your code into a special language named MSIL (Microsoft Intermediate Language).
.
Then, CLR compile MSIL into platform-specific code.
.
When your application actually executes, the MSIL code is just-in-time compiled (also known as JIT Compilation) into machine code by Just-In-Time or JIT Compiler.
.
Normally, your entire applications not compiled from MSIL into machine code.
.
Instead, only the methods that are actually called during execution are compiled.
.
In reality, the .NET Framework understands only one language that is MSIL.
.
However, you can write applications using languages such as Visual Basic .NET and C# for the .NET Framework because the .NET Framework includes compilers for these languages that enable you to compile your code into MSIL.
.
You can write code for the .NET Framework using any one of different languages supported by .NET Framework including the following.
.
  • Ada
  • Apl
  • Caml
  • COBOL
  • Eiffel
  • Forth
  • Fortran
  • JavaScript
  • Oberon
  • PERL
  • Pascal
  • PHP
  • Python
  • RPG
  • Scheme
  • Small Talk
-Reference, "ASP.NET 3.5 UNLEASHED" By Stephen Walther
Published By Sams Publishing
comments powered by Disqus

Featured Content

Resources & Tools

About Nandip Makwana

Nandip Makwana is passionate about digital world and web. He completed his Masters in Computer Application in June 2011. Currently he is working as a Software Engineer. He has shown great promise and command over ASP.NET and technologies surrounding it during his academic years and professorial life...continue reading