Click here to Skip to main content
16,011,778 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionRead Only Combo Box? Pin
bankai1239-Oct-06 19:53
bankai1239-Oct-06 19:53 
AnswerRe: Read Only Combo Box? Pin
Robert Rohde9-Oct-06 22:39
Robert Rohde9-Oct-06 22:39 
QuestionVisual Studio 2005 Pin
Andy H9-Oct-06 9:44
Andy H9-Oct-06 9:44 
AnswerRe: Visual Studio 2005 Pin
Robert Rohde9-Oct-06 22:40
Robert Rohde9-Oct-06 22:40 
Questionsql express backup Pin
Harikrk9-Oct-06 8:40
Harikrk9-Oct-06 8:40 
QuestionButton FlatAppearance.BorderSize problem... Pin
antonpaolo9-Oct-06 6:42
antonpaolo9-Oct-06 6:42 
QuestionDoubt in NGEN and CLR Pin
He is Cool9-Oct-06 3:11
He is Cool9-Oct-06 3:11 
AnswerRe: Doubt in NGEN and CLR Pin
Captain See Sharp9-Oct-06 20:57
Captain See Sharp9-Oct-06 20:57 
When NGen compiles your IL into a native assembly is still uses the CLR and the .NET framework class libraries. Also there would be a problem with updates to the .NET framework. For example if there was a security hole in the console.writeline method and you installed a patch for it then all the apps that use that method would not be updated and would require re-Ngening.

Here are some pros and cons to NGening.

PROS:

Improved application startup time: Since there is no JIT compilation.

Reducing the apps working set: Best if the app is going to be loaded into mutliple AppDomain or processes at the same time. Although the working set will still be less if not being used in multiple appdomains/processes.

CONS:

NGen files can get out of sync: updates to the hardware or .NET Framework will cause this.

Load-time performance hit: NGen files have the memory address references statically calculated. If for some reason it cannot be loaded at its preferred base address then it will require rebasing (Windows will have to relocate the file and fix up memory address references.)

Slower runtime performance: Ngen cannot make as many assumptions about the hardware and OS as the JIT can. The JIT can perform many more optimizations than NGen


█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██

GeneralRe: Doubt in NGEN and CLR Pin
Robert Rohde9-Oct-06 22:43
Robert Rohde9-Oct-06 22:43 
GeneralRe: Doubt in NGEN and CLR Pin
He is Cool9-Oct-06 23:06
He is Cool9-Oct-06 23:06 
GeneralRe: Doubt in NGEN and CLR Pin
Captain See Sharp10-Oct-06 15:25
Captain See Sharp10-Oct-06 15:25 
GeneralRe: Doubt in NGEN and CLR Pin
Captain See Sharp10-Oct-06 15:19
Captain See Sharp10-Oct-06 15:19 
QuestionInternet gateway Pin
Gleader18-Oct-06 20:57
Gleader18-Oct-06 20:57 
QuestionNative Exception Error: 0xc0000005 Pin
Mark C Eaton8-Oct-06 15:56
Mark C Eaton8-Oct-06 15:56 
AnswerRe: Native Exception Error: 0xc0000005 Pin
Luc Pattyn9-Oct-06 8:40
sitebuilderLuc Pattyn9-Oct-06 8:40 
GeneralRe: Native Exception Error: 0xc0000005 Pin
Mark C Eaton9-Oct-06 13:34
Mark C Eaton9-Oct-06 13:34 
AnswerRe: Native Exception Error: 0xc0000005 Pin
Luc Pattyn9-Oct-06 14:54
sitebuilderLuc Pattyn9-Oct-06 14:54 
GeneralRe: Native Exception Error: 0xc0000005 Pin
Mark C Eaton9-Oct-06 15:26
Mark C Eaton9-Oct-06 15:26 
GeneralRe: Native Exception Error: 0xc0000005 Pin
Luc Pattyn9-Oct-06 15:43
sitebuilderLuc Pattyn9-Oct-06 15:43 
GeneralRe: Native Exception Error: 0xc0000005 Pin
Mark C Eaton9-Oct-06 15:56
Mark C Eaton9-Oct-06 15:56 
QuestionCan not create web applicaion Pin
nkjha17-Oct-06 3:03
nkjha17-Oct-06 3:03 
AnswerRe: Can not create web applicaion Pin
mr_lasseter8-Oct-06 11:29
mr_lasseter8-Oct-06 11:29 
QuestionWeird Biztalk 2006 exception Pin
WillemM6-Oct-06 2:43
WillemM6-Oct-06 2:43 
AnswerRe: Weird Biztalk 2006 exception Pin
WillemM6-Oct-06 3:28
WillemM6-Oct-06 3:28 
Questionwhat is GAC(Global Assembly Cache) and what is meant by digitally signing an assembly Pin
Mushtaque Nizamani6-Oct-06 0:53
Mushtaque Nizamani6-Oct-06 0:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.