开发者

Access ASP.Net cache for outside webapp?

I'm in progress of optimizing a ASP.NET site by storing commonly used database objects in a cache and I'm wondering what are good tools to manage the cache?

I found http://aspalliance.com/cachemanager/ which seem pretty cool, but old? Also I have to install this in the webapp itself. I'd prefer an external tool? What else is out there?

(I also found Visual Studio 2005 add-in "Cache Visualizer" but download page http://blog.bretts.net is broken?)

Is there any way to access one web开发者_StackOverflow中文版apps's Cache from other webapp running on the same server?

For example a typical object in my cache is the "type of user" (individual, company, student, etc.) that is pretty much static data. But once every year I might update this table and add a value. This is done in our admin app. Is there any way the admin app can access and invalidate "type of user" cache in the public app? (Without restarting the entire app).

I've looked at SqlCacheDependency but this won't work for us in this case.


The Cache is specific to an AppDomain so if you have more than one Web Application neither can access the other's Cache.

You might want to look into external cache arrangements such as Memcached, redis or perhaps even ASP.NET State Server.


You can still find the download for brett's visualizers using the internet wayback machine.

http://web.archive.org/web/20060512123557/http://blog.bretts.net/wp-content/uploads/2006/03/Johnson.Visualizers.zip

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜