Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 26, 2011 12:18 AM by MNF
Jan 04, 2008 02:26 PM|LINK
Is there anyway to programmatically unload the resource cache? I have done a lot of research to see if this is possible and haven't found any answers yet. I have written a full explanation of the problem at http://techsoda.wordpress.com/2008/01/04/aspnet-reset-that-resource/.
Any thoughts would be appreciated.
Jan 04, 2008 04:27 PM|LINK
I know this is a common problem, and there is no way to "unload" the cached resources from resx files without restarting the app. The only way, AFAIK, to do this is to use DB tables instead of RESX files.
This way you will get latest resources everytime a request is made, ofcourse there will be a performance hit but you cant avoid it.
Jan 04, 2008 09:46 PM|LINK
I am currently using the database to store the localization data. The problem however, is that the Resource Provider Model "caches" the Resource Sets. Rick Stahl at West-Wind has a partial answer, but it doesn't really use the Resource Provider Model within
Thanks for your reply Vivek.
Jun 26, 2011 12:18 AM|LINK
Have you found any solution? See my question at http://stackoverflow.com/questions/6480963/sliding-expiration-of-localized-asp-net-resources.