Easier way to manage your ASP.NET Cache (weblogs.asp.net)

published 2 years, 3 months ago, submitted by zowenszowens(905) 2 years, 3 months ago

Coolest way to do caching... create a CacheManager!!!

2 comments | category: | Views: 26

tags: another

new Add a live kick counter to your blog >> liveImage

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:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:

posted by duckieduckie(150) 2 years, 3 months ago

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 :-)

posted by montymonty(2575) 2 years, 3 months ago

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.

information Login or create an account to comment on this story