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)?
Does ASP.NET load all dependency assemblies (located at BIN folder) to default appdomain while
Share
As far as I know are dependancies loaded on demand (The first time a
Typeof 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.