Hi Marc,
Since you're using DI, this isn't possible to release all memory, for a single reason: .Net franmework won't let you unload any loaded assembly and ID-proxy is only an assembly.
I see only two solutions:
- Going to B1if, which with it's own DI-proxy will be able to restart periodically,
- Something that I did for a previous customer: moving all the business logic in a separate process (exe, not web-service neither DLL) which will be removed from memory when it's job is ended.
Regards,
Eric