1. What is dot net framework?
2. How compilation works in .net ?
3. What is IL Code?
4. Different parts of .net frame work ?
· What is dot net frame work?
Dot net frame work is a platform which contains some libraries, some utilities, some compilers L+U+G which we can use developing , building and deploying varies dot net applications, web applications, windows applications, WCF applications, WPF applications
· How compilation works in dot net?
Compilation works in dot net works in two stages
ü Normal dot net code(C#,VB.Net) converted into IL(Intermediate language) by using compilers.
C# converted into IL by using CSC(c# compiler)
VB.net converted into IL by using VBC (VB compiler)
(IL is the half compiled code and IL is same for all the languages)
C# code = IL Code = VB code
ü IL con be taken by CLR (Common Language Runtime) and passed to JIT(Just In Compiler)
JIT is the responsible for convert the IL code to machine code.
· What is IL?
IL is nothing but a half compiled code(MSIL Microsoft Intermediate language)
JIT will get the control over the IL Code by sing CLR.
This JIT converted the Compiled code (IL) to machine code which is can be understand by operating system(machine code).
· Different parts of .Net framework.
![]() |
CLR Responsibilities
§ Converted IL Code into machine Code
§ Garbage collection.
§ Thread management.
§ Security (Code Access Security CAS).
CLR Consists of CTS, CTS Consists of CLS(Common language specification)
CLS is defines set of rules which is must followed by all the dot net compiled languages
No comments:
Post a Comment