<?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: Caching &amp; XBAPs</title>
	<atom:link href="http://scorbs.com/2006/06/21/caching-xbaps/feed/" rel="self" type="application/rss+xml" />
	<link>http://scorbs.com/2006/06/21/caching-xbaps/</link>
	<description>karen corby's fabulous blog</description>
	<lastBuildDate>Tue, 16 Feb 2010 20:10:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Content Management</title>
		<link>http://scorbs.com/2006/06/21/caching-xbaps/comment-page-1/#comment-172</link>
		<dc:creator>Content Management</dc:creator>
		<pubDate>Tue, 26 Feb 2008 10:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2006/06/21/caching-xbaps/#comment-172</guid>
		<description>very interesting reading x</description>
		<content:encoded><![CDATA[<p>very interesting reading x</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bret Patterson</title>
		<link>http://scorbs.com/2006/06/21/caching-xbaps/comment-page-1/#comment-171</link>
		<dc:creator>Bret Patterson</dc:creator>
		<pubDate>Fri, 09 Mar 2007 08:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2006/06/21/caching-xbaps/#comment-171</guid>
		<description>Great article and it helped me figure out the problem with my XBAP application. However I haven&#039;t figured out how to fix it. I have a simple image viewer application and when I create BitmapImage objects with the URI to the hosted image, the cache policy for the BitmapImage is defaulted to bypassCache. I can&#039;t seem to change it and the images get downloaded every time a user clicks on a thumbnail of the image (even if they had previously clicked on it a few seconds ago).

If i set it to a full trust application and then change the HttpWebRequest.DefaultCachePolicy to Default level this behavior is fixed. However you can&#039;t do that for an Internet partial trust application, so I&#039;m stuck with the XBAP loading the full sized image every time the user clicks on the thumbnail. I&#039;m using an in memory cache right now to work around this, but I&#039;d rather let IE cache my data since it has access to a disk drive to write the cache to.</description>
		<content:encoded><![CDATA[<p>Great article and it helped me figure out the problem with my XBAP application. However I haven&#8217;t figured out how to fix it. I have a simple image viewer application and when I create BitmapImage objects with the URI to the hosted image, the cache policy for the BitmapImage is defaulted to bypassCache. I can&#8217;t seem to change it and the images get downloaded every time a user clicks on a thumbnail of the image (even if they had previously clicked on it a few seconds ago).</p>
<p>If i set it to a full trust application and then change the HttpWebRequest.DefaultCachePolicy to Default level this behavior is fixed. However you can&#8217;t do that for an Internet partial trust application, so I&#8217;m stuck with the XBAP loading the full sized image every time the user clicks on the thumbnail. I&#8217;m using an in memory cache right now to work around this, but I&#8217;d rather let IE cache my data since it has access to a disk drive to write the cache to.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
