hey all, I need opinions on something Im trying to do with dynamically loading DLLs please
I have a bunch of dlls, compiled at runtime, and loaded in, then run.
My intention was to load each into seperate appDomains through a RemoteLoader marshalling class, then have them produce their output (non-serializable WebControls so no marshalling) and handle it in the main app.
The appDomains could then be unloaded, and the dll deleted.
the problem is that it seems I have a choice. I can
(a) return only serializable data types OR
(b) don't use appDomains and suffer the consequences of not being able to unload the DLLs from memory without restarting the asp.net worker process?
But I really don't want to face either situation, any ideas or suggestions please?
I have a bunch of dlls, compiled at runtime, and loaded in, then run.
My intention was to load each into seperate appDomains through a RemoteLoader marshalling class, then have them produce their output (non-serializable WebControls so no marshalling) and handle it in the main app.
The appDomains could then be unloaded, and the dll deleted.
the problem is that it seems I have a choice. I can
(a) return only serializable data types OR
(b) don't use appDomains and suffer the consequences of not being able to unload the DLLs from memory without restarting the asp.net worker process?
But I really don't want to face either situation, any ideas or suggestions please?