Loading Assembly During Application_Start

If I load an .NET assembly during the application start event, and I load it
into the current app domain (as opposed to creating a new app doman and
loading it there)... is it true that the assembly will remain loaded with
its members available globally (e.g., to all Page class instances) for the
lifetime of the ASP.NET application (i.e., until it recycles)?

Thanks!
Peter Schwartz [ Do, 10 April 2008 04:06 ] [ ID #1939337 ]

Re: Loading Assembly During Application_Start

yes, the assembly remains loaded for the life of the app domain as there
is no unload.

-- bruce (sqlwork.com)

Jordan S. wrote:
> If I load an .NET assembly during the application start event, and I load it
> into the current app domain (as opposed to creating a new app doman and
> loading it there)... is it true that the assembly will remain loaded with
> its members available globally (e.g., to all Page class instances) for the
> lifetime of the ASP.NET application (i.e., until it recycles)?
>
> Thanks!
>
>
>
DFS [ Do, 10 April 2008 07:26 ] [ ID #1939346 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Loading Assembly During Application_Start

Vorheriges Thema: RE: ListView EditItem Bug?
Nächstes Thema: Telerik & "Validation of viewstate MAC failed."