Where the native code is stored?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi folks,


I heard that nGen tool is use to generate the native code ,so that the
response will be faster and there is no need for JIT to compile agagin to
native code?

What my doubt is ?

Where the native code is stored?
2.How to specify the location of the native CODE to CLR ?
3.Are can we put he native code directli under the bin\Directory of the
Application?
Thanks
B.Balaji
 
When you ngen, there is still a manifest to load the code. THe major savings
is you do not have to JIT compile, as the native code can directly be loaded
into memory and used, without any compilation.

The norm with ngen is to store in the GAC. I have not tried placing in a
/bin file, but I see no reason why it would not work, as there is still a
manifest in an ngened assembly.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top