Does ASP.NET load all dependency assemblies (located at BIN folder) to default appdomain while loading some assembly? Or it will be loaded "on demand" (when CLR need some type from dependency assembly)?
Asked
Active
Viewed 354 times
1 Answers
6
As far as I know are dependancies loaded on demand (The first time a Type
of said assembly is used)
The book CLR via C#
from Jeffrey Richter also explains it in greater detail.
Also, check this MSDN article which basically talks about the reduction of loaded assemblys (Also answering your question to some point I guess)
Extract from this question.
When the CLR just-in-time (JIT) compiles the Start method it needs to load all assemblies referenced within that method. (..)
-
Thanks for quick answer. That's what I want to hear) – Ivan Bianko Mar 16 '12 at 09:42