.Net - Explain how a .NET application is compiled and
executed. - June 03, 2009 at 11:00 AM by Shuchi Gauri
Explain how a .NET application is compiled and executed.
Any code written in any .NET complaint languages when compiled, converts into
MSIL (Microsoft Intermediate Language) code in form of an assembly through CLS,
CTS. IL is the language that CLR can understand. On execution, this IL is
converted into binary code by CLR’s just in time compiler (JIT) and these
assemblies or DLL are loaded into the memory.
Also read
Previously, in ASP.NET, the pages and the code used to be compiled dynamically
and then cached so as to make the requests to access the page extremely
efficient. In ASP.NET 2.0..............
Just In Time Compiler compiles the code just before it is run. Due to this the
code takes longer time to start however it is more efficient compilation since
the compiler has more information about the target system................
Assembly is a compiled output of program which are used for easy deployment of
an application.........
Web application exists in compiled form on the server so the execution speed is
faster as compared to the interpreted scripts............
With the ‘src’ attribute, the source code files are deployed and are compiled by
the JIT as needed...........
Explain CLR in brief.
Describe how a .Net application is compiled and executed.................
|