<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: C# Cache Helper Class</title>
	<atom:link href="http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/</link>
	<description></description>
	<lastBuildDate>Sat, 19 May 2012 20:42:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: ab</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-354233</link>
		<dc:creator>ab</dc:creator>
		<pubDate>Thu, 15 Mar 2012 15:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-354233</guid>
		<description>What suppose return &quot;default(T)&quot; in your sample code?

I see default too as:

     HttpContext cntxt = default(HttpContext);

And i don&#039;t know what do it.  Thanks. Adrian</description>
		<content:encoded><![CDATA[<p>What suppose return &#8220;default(T)&#8221; in your sample code?</p>
<p>I see default too as:</p>
<p>     HttpContext cntxt = default(HttpContext);</p>
<p>And i don&#8217;t know what do it.  Thanks. Adrian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-352471</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 12 Mar 2012 19:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-352471</guid>
		<description>Very nice &amp; very helpful!!  Thanks!</description>
		<content:encoded><![CDATA[<p>Very nice &amp; very helpful!!  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Type-Safe Cache with Delegates for ASP.NET (also MVC) &#171; Programming Blog of Jason Norris</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-343266</link>
		<dc:creator>A Type-Safe Cache with Delegates for ASP.NET (also MVC) &#171; Programming Blog of Jason Norris</dc:creator>
		<pubDate>Wed, 22 Feb 2012 18:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-343266</guid>
		<description>[...] have previously used a class called CacheHelper from Ben Griswold which works great for the casting problem. However, it does not address the pattern of check, add, [...]</description>
		<content:encoded><![CDATA[<p>[...] have previously used a class called CacheHelper from Ben Griswold which works great for the casting problem. However, it does not address the pattern of check, add, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gino</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-341383</link>
		<dc:creator>gino</dc:creator>
		<pubDate>Fri, 17 Feb 2012 07:38:42 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-341383</guid>
		<description>Thanks for the post!
Do I need to lock some obj to make sure this class is thread safty?</description>
		<content:encoded><![CDATA[<p>Thanks for the post!<br />
Do I need to lock some obj to make sure this class is thread safty?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nagi</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-328279</link>
		<dc:creator>Nagi</dc:creator>
		<pubDate>Thu, 19 Jan 2012 14:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-328279</guid>
		<description>Is possible to create unit test cases for all above methods</description>
		<content:encoded><![CDATA[<p>Is possible to create unit test cases for all above methods</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forex Wikipedia</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-294770</link>
		<dc:creator>Forex Wikipedia</dc:creator>
		<pubDate>Thu, 24 Nov 2011 16:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-294770</guid>
		<description>Forex Wikipedia
http://forexwikipedia.blogspot.com
Free Indicateur,Free Expert Advisor,feedwikipedia,forex wikipedia.</description>
		<content:encoded><![CDATA[<p>Forex Wikipedia<br />
<a href="http://forexwikipedia.blogspot.com" rel="nofollow">http://forexwikipedia.blogspot.com</a><br />
Free Indicateur,Free Expert Advisor,feedwikipedia,forex wikipedia.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Do you need to hire a seo expert to improve SERPs</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-287307</link>
		<dc:creator>Do you need to hire a seo expert to improve SERPs</dc:creator>
		<pubDate>Fri, 18 Nov 2011 00:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-287307</guid>
		<description>Have you ever thought about publishing an ebook or guest authoring on other websites? I have a blog based upon on the same information you discuss and would really like to have you share some stories/information. I know my visitors would appreciate your work. If you&#039;re even remotely interested, feel free to send me an email.</description>
		<content:encoded><![CDATA[<p>Have you ever thought about publishing an ebook or guest authoring on other websites? I have a blog based upon on the same information you discuss and would really like to have you share some stories/information. I know my visitors would appreciate your work. If you&#8217;re even remotely interested, feel free to send me an email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Candance Bruins</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-276640</link>
		<dc:creator>Candance Bruins</dc:creator>
		<pubDate>Wed, 09 Nov 2011 14:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-276640</guid>
		<description>Great write-up, I am normal visitor of one?¦s site, maintain up the nice operate, and It is going to be a regular visitor for a long time.</description>
		<content:encoded><![CDATA[<p>Great write-up, I am normal visitor of one?¦s site, maintain up the nice operate, and It is going to be a regular visitor for a long time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Griswold</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-223490</link>
		<dc:creator>Ben Griswold</dc:creator>
		<pubDate>Sat, 11 Sep 2010 15:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-223490</guid>
		<description>@Vince, Thanks for the comment, but I&#039;m not sure there&#039;s a way around this due to the way data is stored in Cache, Session, Profile, etc. How would you implement the generic Get() without casting the value when pulled from Cache?</description>
		<content:encoded><![CDATA[<p>@Vince, Thanks for the comment, but I&#8217;m not sure there&#8217;s a way around this due to the way data is stored in Cache, Session, Profile, etc. How would you implement the generic Get() without casting the value when pulled from Cache?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vince</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-223478</link>
		<dc:creator>Vince</dc:creator>
		<pubDate>Sat, 11 Sep 2010 07:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-223478</guid>
		<description>I think how your caching here is wrong, your using generics in the wrong way.

This method appears to be strongly typed to the caller, but it&#039;s using a Cast underneath.

public static bool Get(string key, out T value)
{  
//...

value =  (T) HttpContext.Current.Cache[key];

//...
}</description>
		<content:encoded><![CDATA[<p>I think how your caching here is wrong, your using generics in the wrong way.</p>
<p>This method appears to be strongly typed to the caller, but it&#8217;s using a Cast underneath.</p>
<p>public static bool Get(string key, out T value)<br />
{<br />
//&#8230;</p>
<p>value =  (T) HttpContext.Current.Cache[key];</p>
<p>//&#8230;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: free trials</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-217811</link>
		<dc:creator>free trials</dc:creator>
		<pubDate>Thu, 08 Apr 2010 13:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-217811</guid>
		<description>Thanks for keeping great posts!</description>
		<content:encoded><![CDATA[<p>Thanks for keeping great posts!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-212675</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 26 Nov 2009 22:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-212675</guid>
		<description>Thanks a load. Really helpful!</description>
		<content:encoded><![CDATA[<p>Thanks a load. Really helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jab Crius</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-208874</link>
		<dc:creator>Jab Crius</dc:creator>
		<pubDate>Mon, 14 Sep 2009 15:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-208874</guid>
		<description>H! can i determine the size of each item in the cache?
I followed the linked but i can&#039;t understand, what&#039;s happening there..I mean where i can run the command..

Thanks..</description>
		<content:encoded><![CDATA[<p>H! can i determine the size of each item in the cache?<br />
I followed the linked but i can&#8217;t understand, what&#8217;s happening there..I mean where i can run the command..</p>
<p>Thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Griswold</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-206953</link>
		<dc:creator>Ben Griswold</dc:creator>
		<pubDate>Sat, 15 Aug 2009 18:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-206953</guid>
		<description>@Shuaib - Neat idea but this class is entirely static and it merely wraps the HttpContent cache object.  An OnRemove event wouldn&#039;t really work without some serious re-architecture. Thanks for the question.</description>
		<content:encoded><![CDATA[<p>@Shuaib &#8211; Neat idea but this class is entirely static and it merely wraps the HttpContent cache object.  An OnRemove event wouldn&#8217;t really work without some serious re-architecture. Thanks for the question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shuaib</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-206771</link>
		<dc:creator>Shuaib</dc:creator>
		<pubDate>Tue, 11 Aug 2009 20:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-206771</guid>
		<description>Thanks for the great post. Is it possible to add the OnRemove even to this class?
I want to call a function and repopulate the cache when it is removed.</description>
		<content:encoded><![CDATA[<p>Thanks for the great post. Is it possible to add the OnRemove even to this class?<br />
I want to call a function and repopulate the cache when it is removed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: buy_vigrxplus</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-204191</link>
		<dc:creator>buy_vigrxplus</dc:creator>
		<pubDate>Tue, 14 Jul 2009 12:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-204191</guid>
		<description>Great post! I’ll subscribe right now wth my feedreader software!</description>
		<content:encoded><![CDATA[<p>Great post! I’ll subscribe right now wth my feedreader software!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jerreychen</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-199024</link>
		<dc:creator>jerreychen</dc:creator>
		<pubDate>Tue, 09 Jun 2009 04:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-199024</guid>
		<description>Thanks for this.
I am just copied the code and posted in my blog. ^.^</description>
		<content:encoded><![CDATA[<p>Thanks for this.<br />
I am just copied the code and posted in my blog. ^.^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Griswold</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-188093</link>
		<dc:creator>Ben Griswold</dc:creator>
		<pubDate>Sat, 11 Apr 2009 19:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-188093</guid>
		<description>@Michael Washington Thanks for sharing your site. You have some excellent demos and source code available.  Good stuff.</description>
		<content:encoded><![CDATA[<p>@Michael Washington Thanks for sharing your site. You have some excellent demos and source code available.  Good stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Washington</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-187710</link>
		<dc:creator>Michael Washington</dc:creator>
		<pubDate>Fri, 10 Apr 2009 16:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-187710</guid>
		<description>I used the code in a module posted here:

http://dnnsilverlight.adefwebserver.com/Silverlight20/SilverlightChat/tabid/75/Default.aspx</description>
		<content:encoded><![CDATA[<p>I used the code in a module posted here:</p>
<p><a href="http://dnnsilverlight.adefwebserver.com/Silverlight20/SilverlightChat/tabid/75/Default.aspx" rel="nofollow">http://dnnsilverlight.adefwebs.....fault.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Griswold</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-185854</link>
		<dc:creator>Ben Griswold</dc:creator>
		<pubDate>Thu, 02 Apr 2009 21:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-185854</guid>
		<description>@Michael Washington You&#039;re very welcome.</description>
		<content:encoded><![CDATA[<p>@Michael Washington You&#8217;re very welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Washington</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-185852</link>
		<dc:creator>Michael Washington</dc:creator>
		<pubDate>Thu, 02 Apr 2009 21:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-185852</guid>
		<description>Thanks for this.</description>
		<content:encoded><![CDATA[<p>Thanks for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Griswold</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-163576</link>
		<dc:creator>Ben Griswold</dc:creator>
		<pubDate>Sun, 04 Jan 2009 18:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-163576</guid>
		<description>Great question.  Try serializing the object to the file system. It&#039;s physical file size is a rough estimate of what was in memory. If you want to start really digging into this subject, you may wish to start here: http://blogs.msdn.com/tess/archive/2006/01/26/517819.aspx. Good luck.</description>
		<content:encoded><![CDATA[<p>Great question.  Try serializing the object to the file system. It&#8217;s physical file size is a rough estimate of what was in memory. If you want to start really digging into this subject, you may wish to start here: <a href="http://blogs.msdn.com/tess/archive/2006/01/26/517819.aspx" rel="nofollow">http://blogs.msdn.com/tess/arc.....17819.aspx</a>. Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KSmith</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-163535</link>
		<dc:creator>KSmith</dc:creator>
		<pubDate>Sun, 04 Jan 2009 13:40:47 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-163535</guid>
		<description>How can I determine the size of an item in cache?</description>
		<content:encoded><![CDATA[<p>How can I determine the size of an item in cache?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-156586</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Sat, 13 Dec 2008 14:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-156586</guid>
		<description>You&#039;re welcome. Thanks for sharing :D</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome. Thanks for sharing <img src='http://johnnycoder.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: C# Cache Helper Class Revisited by JohnnyCoder</title>
		<link>http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/comment-page-1/#comment-156242</link>
		<dc:creator>C# Cache Helper Class Revisited by JohnnyCoder</dc:creator>
		<pubDate>Fri, 12 Dec 2008 17:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://johnnycoder.com/blog/2008/12/10/c-cache-helper-class/#comment-156242</guid>
		<description>[...]  Ben Griswold09:57 amAdd comment1 Views The Cache Helper Class has been updated so that it is no longer limited by the generic constraint.&#160; The original post [...]</description>
		<content:encoded><![CDATA[<p>[...]  Ben Griswold09:57 amAdd comment1 Views The Cache Helper Class has been updated so that it is no longer limited by the generic constraint.&nbsp; The original post [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

