473,503 Members | 1,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NGen

Just a confirmation.
NGen generates native code when i install the windows application on the
client or when I run it for the first time?
thanks,
Nov 15 '05 #1
2 2185
Actually neither, you have to manually run the ngen tool, or do it
explicitly in your deployment setup

Cheers
Benny

"JMMB" <mb*******@bf.com.br> wrote in message
news:Ov**************@TK2MSFTNGP11.phx.gbl...
Just a confirmation.
NGen generates native code when i install the windows application on the
client or when I run it for the first time?
thanks,

Nov 15 '05 #2
On Mon, 1 Sep 2003 23:59:42 +0530, "Benny Mathew"
<be************@yahoo.com> wrote:
Actually neither, you have to manually run the ngen tool, or do it
explicitly in your deployment setup
Correct...

NGen has to be invoked manually on your assembly. When you do so
(ngen.exe myAssembly.exe) you can consider this action as running a
full JIT compilation (only JIT here means "now") on that assembly and
giving the result (native code).

However... It is advisable not to distribute assemblies that have
been ngen'ed on _your_ computer, since ngen will apply optimizations
for the computer it is currently running on... Unless you can ngen an
assembly to the target platform, do not ngen assemlbies that will be
distributed :)

--
NULL

"JMMB" <mb*******@bf.com.br> wrote in message
news:Ov**************@TK2MSFTNGP11.phx.gbl...
Just a confirmation.
NGen generates native code when i install the windows application on the
client or when I run it for the first time?
thanks,


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
8219
by: William Reyes | last post by:
I have a question regarding the use of ngen.exe and dedployment. I want to make sure I understand this correctly. If I create an app that has an .exe as well as a couple of .dll's. I can create...
2
2717
by: Wol | last post by:
I have two assemblies, A.dll and B.dll. A.dll contains two methods. One method, UsesB, uses a type from B.dll whereas the other, DoesNotUseB, does not. To cache a native image of A.dll with...
1
2314
by: fleimeris | last post by:
hello, i am preparing for 70-316 exam and i'm not quite sure about the answer to the following question. i want to use ngen.exe to boost the performance of my application. however, when should i...
1
2400
by: Mark | last post by:
I was hoping to use nGen to speed up the time taken for our web site to start running. However, on the web we found this quote: "NGen is not recommend for Asp.Net because the assemblies NGen...
1
2022
by: Sameeksha | last post by:
Hi everyone, I have observed that the ngen process appears in the list of processes in taskmgr while .net framework 1.1 gets installed. This process consumes 0-50% of cpu and 0-20K of RAM. I...
0
1081
by: lissbpp | last post by:
Hello, Working in .Net 2.0 using NGen to speed up both my warm and cold startup load times. NGen works beautifully for my application; however, it seams that the native image cache is not...
0
1149
by: lissbpp | last post by:
Hello, Working in .Net 2.0 using NGen to speed up both my warm and cold startup load times. NGen works beautifully for my application; however, it seams that the native image cache is not...
2
4781
by: whezker | last post by:
Hi everybody. I'm trying to use the ngen tool from framework 2.0, to accelerate the load runtime of my app. I'll explain here what I'm doing. First I copy&paste the ngen.exe to the Bin folder of...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.