|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Dynamic Loading of Private Assemblies?Does anyone have an example on how to dynamically load private assemblies
in ASP.NET - like what DotNetNuke does? Do private assemblies have to be in the BIN directory... or can they be located anywhere in the file system? Thanks. -- Stan Kee (spamhoneypot@rogers.com) Hi Stan,
> Does anyone have an example on how to dynamically load private assemblies AppDomain domain = AppDomain.CreateDomain("loader");> in ASP.NET - like what DotNetNuke does? Bar bar = (Bar) domain.CreateInstanceFromAndUnwrap("Foo.dll", "Foo.Bar"); AppDomain.Unload(domain); > Do private assemblies have to be in the BIN directory... or can they be A private assembly is a assembly that is available to particular > located anywhere in the file system? applications where they are kept. And cannot be references outside the scope of the folder where they are kept. Best regards, Paul Gielens Visit my blog @ http://weblogs.asp.net/pgielens/ ### |
|||||||||||||||||||||||