architecture

Does it make sense to NGen – compile your ASP.NET MVC application ?

By Mirek on (tags: NGen CIL JIT-compilation, categories: architecture, tools)

In .Net world every line of code has to be compiled before it can be executed obviously. However the compilation process occurs twice. First the Common Intermediate Language (CIL) is produced out of human readable code and it occurs just after the development process. Then the CIL is compiled into the native code specifically to be interpreted  by the target machine. The letter step occurs on the fly, on client machine and is called the JIT (Just In Time) compilation.