where the native code is stored ..?

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

Guest

Hi folks,


I heard the nGen is the tool to generate the native code so that the
response WIll be faster?

what is my doubt is?
how to specify the location of the native code of particular dll(MSIL)...to
the CLR ?


Thanks
B.Balaji
 
ngen should only be used if you've profiled your application and determined
that when you initialliy launch the app the response time for the UI coming
up is slow because of JITing. Now, since you've posted in the ASP.NET NG,
I'd argue that this isn't something you should bother with. ngen is geared
for desktop style apps.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
When you call ngen, it is placed in the temporary .net cache file directory.
Which for asp.net applications on my machine is:

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\

You also need to know that the "First" response will be faster, all the
remaining responses will be unaffected by ngen.

The CLR Loader handles where the native code for a MSIL assembly is.

bill
 
Back
Top