<?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"
	>
<channel>
	<title>Comments on: Caching &#038; 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></description>
	<pubDate>Sat, 11 Oct 2008 00:28:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Content Management</title>
		<link>http://scorbs.com/2006/06/21/caching-xbaps#comment-25897</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-25897</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-5059</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-5059</guid>
		<description>Great article and it helped me figure out the problem with my XBAP application. However I haven'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'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't do that for an Internet partial trust application, so I'm stuck with the XBAP loading the full sized image every time the user clicks on the thumbnail. I'm using an in memory cache right now to work around this, but I'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>

<!-- Dynamic Page Served (once) in 0.398 seconds -->
