Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

New Post: change view engines after application load

$
0
0
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 here, 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.

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>