where the native code is stored ..?

Discussion in 'ASP .Net' started by =?Utf-8?B?QmFsYWpp?=, Apr 28, 2005.

  1. 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
     
    =?Utf-8?B?QmFsYWpp?=, Apr 28, 2005
    #1
    1. Advertisements

  2. =?Utf-8?B?QmFsYWpp?=

    Brock Allen Guest

    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



    > 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
     
    Brock Allen, Apr 28, 2005
    #2
    1. Advertisements

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


    "Balaji" <> wrote in message
    news:...
    > 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
     
    William F. Robertson, Jr., Apr 28, 2005
    #3
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gil Carmel
    Replies:
    4
    Views:
    573
    Chris Smith
    Jul 17, 2003
  2. My News

    Native Code (JIT)

    My News, Dec 20, 2003, in forum: Java
    Replies:
    0
    Views:
    398
    My News
    Dec 20, 2003
  3. cppaddict

    Tracking Bugs In Native Code

    cppaddict, Aug 27, 2004, in forum: Java
    Replies:
    5
    Views:
    454
    Michael Borgwardt
    Aug 27, 2004
  4. jin zhang
    Replies:
    1
    Views:
    1,502
    Chris Uppal
    Oct 2, 2004
  5. Dave Burns
    Replies:
    2
    Views:
    937
    Dave Burns
    Jan 12, 2007
  6. Dave Burns
    Replies:
    0
    Views:
    514
    Dave Burns
    Jan 12, 2007
  7. koblas
    Replies:
    9
    Views:
    792
    castironpi
    Aug 31, 2008
  8. Stefan Berglund

    Stored Proc as native connection object method

    Stefan Berglund, Oct 21, 2003, in forum: ASP General
    Replies:
    2
    Views:
    222
    Stefan Berglund
    Oct 21, 2003
Loading...