1
Reply

What is ngen.exe? What role it plays in .net?

Deepak Arora

Deepak Arora

14y
6.8k
0
Reply

    ngen.exe (short for native image generator) is a microsoft utility to handle the JIT compilation.  It enables you to essantially run the JIT compiler on a specific assembly, which is then installed into the user's application cache in its native format.

    the obvious advantage is that now when the user asks to execute something in that assembly, the JIT compiler is not invoked, saving a small amount of memory.