Hi,
I have a problem regarding unloading AppDomains in a web service. When I use
an AppDomain in a web service and unload it, the referenced assemblies are
still locked. When I use the same code in a console or windows application,
it works.
What I want to do is to load a plugin into an AppDomain, work with the
plugin through interfaces and then unload the AppDomain. I need to unload it
because if I want to replace the plugin with a newer version, I don't want
to kill the aspnet_wp.exe process.
Does anybody know why the plugin is still locked even if I unload the
AppDomain in a web service? Is it impossible to use AppDomains in a web
service?
Thanks in advance.