I am struggling with an issue and am utterly lost as to the correct approach to handle the problem.
I have an MVC 5 application running on Windows Server 2008 R2 that communicates with an accounting package (Exchequer) via an unmanaged COM dll. As I understand it (and I'm not sure I do) the unmanaged dll is created once per app domain? Meaning that multiple users of the app will all be 'using' the same unmanaged instance? Ideally, I would want one instance of the COM dll to be created and destroyed per user. Can anyone please tell me if this is possible and, if so, how I would go about implementing it? Thanks