Where the native code is stored?

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
 
G

Guest

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!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top