Interview questions

.Net - Explain how a .NET application is compiled and executed

Next question>>           Learn .NET
.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.

Next question>>

Also read

What is the Pre-Compilation feature of ASP.NET 2.0?

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..............

What is the JIT? What is NGEN? What are limitations and benefits of each?

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................

What are assemblies? Describe the types of assemblies.

Assembly is a compiled output of program which are used for easy deployment of an application.........

Explain the advantages of ASP.NET.

Web application exists in compiled form on the server so the execution speed is faster as compared to the interpreted scripts............

ASP.NET - Difference between src and Code-Behind

With the ‘src’ attribute, the source code files are deployed and are compiled by the JIT as needed...........

.NET common language runtime

Explain CLR in brief.
Describe how a .Net application is compiled and executed.................



Write your comment - Share Knowledge and Experience


 

 
Latest placement tests
Latest links
 
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring