I'm writing a multi-tenancy based mvc application where I would like to have each tenant have its own separate view engine.
Currently the mvc framework caches the view engine list it retrieves from the Dependency Resolver after the initial call to load them, is there a way I can clear this list and have it loaded each time, (assuming my IOC container is actually handling the lifetime
of these so I'm not neccessarily creating them on each request)
I've posted this to stack overflow
, and a similar question before but never got any answers, and am not really expecting much from the current question I have.
Does anyone have any advice on how I might go about this?
I can link in samples to reproduce the behaviour if this helps at all.