Hi
All the assemblies are loaded from the /bin folder as soon as your
application receives its first request.
The ApplicationManager creates a new AppDomain, which then loads your
third-party assemblies. They'll stay loaded for the lifetime of your
AppDomain.
To see exactly which assemblies are loaded at any point you can run
something like:
Dim assemblies() As Assembly = AppDomain.CurrentDomain.GetAssemblies()
For Each asm As Assembly In assemblies
Response.Write(String.Format("Loaded: {0}<br>", asm.FullName))
Next
Chris
On Sep 25, 4:49 am, "Smithers" <A...@B.comwrote:
My ASP.NET Web app uses a few 3rd party assemblies. Just wondering when
those are loaded into the Web app's AppDomain - and for how long do they
stay loaded.
Is an assembly loaded the first time a page is loaded (where the page in
question makes use of the 3rd party assembly)? Or are all assemblies
referenced by the Web app automatically loaded whenever the Web site starts
(or is restarted)?
Thanks.