Microsoft KB Archive/331979

= INFO: ASP.NET Does Not Support Pre-Just-In-Time (JIT) Compilation Through Native Image Generator (Ngen.exe) =

Article ID: 331979

Article Last Modified on 5/11/2007

-

APPLIES TO


 * Microsoft ASP.NET 1.0
 * Microsoft ASP.NET 1.1

-



This article was previously published under Q331979



SUMMARY
The Native Image Generator (Ngen.exe) creates a native image from a managed assembly and then installs the image into the native image cache on the local computer. When you use the images that you created with Ngen.exe from ASP.NET assemblies, the common language runtime ignores them and then reverts back to the original image for just-in-time compilation (JIT).



MORE INFORMATION
The common language runtime cannot load images that you create with NGEN into the shared application domain. Because ASP.NET standard assemblies are shared and are then loaded into a shared application domain, you cannot use Ngen.exe to install them into the native image cache on the local computer.

