where the native code is stored ..?

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
 
B

Brock Allen

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.
 
W

William F. Robertson, Jr.

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top