Easier way to manage your ASP.NET Cache (weblogs.asp.net)
submitted by zowens(988) 4 years, 7 months ago
Coolest way to do caching... create a CacheManager!!!
2 comments |category: ASP.NET |Views: 35 Tweet
tags: cache ASP.NET another
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
posted by duckie(150) 4 years, 7 months ago 0
I got a cache-class just like it. 3 actually. One per application, one per request, and one per session. All you will ever need :-)
Reply
posted by monty(2575) 4 years, 7 months ago 0
gavin did a nice job with his code, glad someone took the time to post it. it's very reusable and even though I had something very similar in one of my projects - Gavin's was cleaner and more reusable thanks to his generics implementation. This is code many smaller sites could benefit from, and even larger sites if they implement an intelligent locking strategy. heck, dotnetkicks is a pretty popular site I'd say and uses this same code.
All tags Your tags
Suggest a new category
dpeterson(1273)
Telerik(409)
fdub(381)
amit.jain(273)
BlackWasp(259)
RobertTheGrey(259)
jalpesh(252)
bsenoff(240)
KodefuGuru(227)
KMillerr(226)