c# - HttpRuntime.Cache deleted after update in Asp.net mvc -


i'm using httpruntime.cache repeat task. every cache expire work , create new cache. cache start application_start. have 1 problem.

when update web application dll, cache deleted (not expired) , application_start won't work

how can solve problem?

how create non deletable cache?

when modify web.config or contents of /bin directory, cause worker process reset. so, application shuts down, , starts anew next request.

the asp.net cache not durable through application restarts. if need durable cache, need use external caching service memcache, velocity, ncache, sharedcache, etc.

"application_start won't work" sounds bewildering. if provide more detail problem, can try , that, too.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -