Click here to Skip to main content
15,910,981 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionset classname of application, register window class vb.net Pin
K edar V10-Oct-06 1:04
K edar V10-Oct-06 1:04 
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 
Hi,

I need some basic low level details of what happens when you ngen a .NET assembly.

Lets take a c++ code which when compiled creates a binary executable. On executing this binary, the OS allocates memory for the process and executes it. No concept of runtime or CLR here. Everything is present in the binary.

I read the MSDN and understand that .NGEN creates a native image of the code and avoids JIT compilation while execution by the CLR. Hence, at the end, I understand that the ngen creates binary code for specific processor.

If the native code (binary) is ready then why cant the OS take care of executing it and why the .NET runtime has to do the execution?
What does the CLR do then for a ngended assembly ?

I seem to get confused with this concept.Please clarify.

Thanks,
Mani


AnswerRe: Doubt in NGEN and CLR Pin
Captain See Sharp9-Oct-06 20:57
Captain See Sharp9-Oct-06 20:57 
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 

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.