<?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: On-demand loading of assemblies with Silverlight Navigation</title>
	<atom:link href="http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/</link>
	<description>Software development and other goofy geeky goodness.</description>
	<lastBuildDate>Tue, 23 Aug 2011 19:01:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: david.poll</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-8271</link>
		<dc:creator>david.poll</dc:creator>
		<pubDate>Wed, 08 Jun 2011 01:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-8271</guid>
		<description>Hyacinth,

Really, you&#039;re not going to get anything out of dynamically loading anything that&#039;s part of the runtime (e.g. Mscorlib).  The only libraries that will be able to take advantage of this technique are those that are otherwise getting packaged into your XAP.  Everything else is already local on users&#039; machines, meaning you already avoid paying the download cost for them -- and they&#039;re likely to be loaded anyway just because they&#039;re so core to the runtime itself.</description>
		<content:encoded><![CDATA[<p>Hyacinth,</p>
<p>Really, you&#8217;re not going to get anything out of dynamically loading anything that&#8217;s part of the runtime (e.g. Mscorlib).  The only libraries that will be able to take advantage of this technique are those that are otherwise getting packaged into your XAP.  Everything else is already local on users&#8217; machines, meaning you already avoid paying the download cost for them &#8212; and they&#8217;re likely to be loaded anyway just because they&#8217;re so core to the runtime itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hyacinth Broadchest</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-8270</link>
		<dc:creator>Hyacinth Broadchest</dc:creator>
		<pubDate>Wed, 08 Jun 2011 01:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-8270</guid>
		<description>David, thank you so much.  You have no idea how long I struggled with the Silverlight-navigation+dynamic-loading problem.

My question is, how much of the framework can I hve dynamically loaded, or is it a waste of time. For example, System.Windows.zip, System.Core.zip, mscorlib.zip, System.Net.zip?  At some point I figure that there is no point in trying to delay loading of the kernel, but where is that point?  Many thanks, Hyacinth.</description>
		<content:encoded><![CDATA[<p>David, thank you so much.  You have no idea how long I struggled with the Silverlight-navigation+dynamic-loading problem.</p>
<p>My question is, how much of the framework can I hve dynamically loaded, or is it a waste of time. For example, System.Windows.zip, System.Core.zip, mscorlib.zip, System.Net.zip?  At some point I figure that there is no point in trying to delay loading of the kernel, but where is that point?  Many thanks, Hyacinth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david.poll</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-6392</link>
		<dc:creator>david.poll</dc:creator>
		<pubDate>Mon, 26 Apr 2010 01:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-6392</guid>
		<description>Unfortunately, at the moment, you can&#039;t post XML in my comments section.  I&#039;ll try to fix this going forward.  In the meantime, you can e-mail me at david at depoll dot com, and I&#039;ll try to help you out.</description>
		<content:encoded><![CDATA[<p>Unfortunately, at the moment, you can&#8217;t post XML in my comments section.  I&#8217;ll try to fix this going forward.  In the meantime, you can e-mail me at david at depoll dot com, and I&#8217;ll try to help you out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Kea</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-6387</link>
		<dc:creator>Sam Kea</dc:creator>
		<pubDate>Sun, 25 Apr 2010 12:03:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-6387</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-6384&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-6384&quot; rel=&quot;nofollow&quot;&gt;Sam Kea&lt;/a&gt; :&lt;/strong&gt;
          Hi David.
I am trying to use the shim pages sample for authentication. How does the UriPattern Looklike?
Below is what io have but isnt working for me.
         &lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-6384"><p>
<strong><a href="#comment-6384" rel="nofollow">Sam Kea</a> :</strong><br />
          Hi David.<br />
I am trying to use the shim pages sample for authentication. How does the UriPattern Looklike?<br />
Below is what io have but isnt working for me.
         </p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Kea</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-6386</link>
		<dc:creator>Sam Kea</dc:creator>
		<pubDate>Sun, 25 Apr 2010 12:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-6386</guid>
		<description>
   
</description>
		<content:encoded><![CDATA[]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Kea</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-6384</link>
		<dc:creator>Sam Kea</dc:creator>
		<pubDate>Sun, 25 Apr 2010 11:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-6384</guid>
		<description>Hi David.
I am trying to use the shim pages sample for authentication. How does the UriPattern Looklike?
Below is what io have but isnt working for me.

   
</description>
		<content:encoded><![CDATA[<p>Hi David.<br />
I am trying to use the shim pages sample for authentication. How does the UriPattern Looklike?<br />
Below is what io have but isnt working for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Helen Warn</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-6199</link>
		<dc:creator>Helen Warn</dc:creator>
		<pubDate>Fri, 09 Apr 2010 21:51:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-6199</guid>
		<description>I have noticed with IIS6 that sometimes when you set mime types at the root level, they don&#039;t get propagated down to child virtual directories (this got me several times in the past), but both .xap and .xaml mime types are set. Do I need to add .dll types? I tried but it didn&#039;t seem to make a difference. 

My clientaccesspolicy file allows every porn site on the planet in (i.e. it is wide open). Fiddler just gives me a 500 error.

Any other suggestions as to how I can debug this?

Thanks a bunch

Helen</description>
		<content:encoded><![CDATA[<p>I have noticed with IIS6 that sometimes when you set mime types at the root level, they don&#8217;t get propagated down to child virtual directories (this got me several times in the past), but both .xap and .xaml mime types are set. Do I need to add .dll types? I tried but it didn&#8217;t seem to make a difference. </p>
<p>My clientaccesspolicy file allows every porn site on the planet in (i.e. it is wide open). Fiddler just gives me a 500 error.</p>
<p>Any other suggestions as to how I can debug this?</p>
<p>Thanks a bunch</p>
<p>Helen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david.poll</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-6196</link>
		<dc:creator>david.poll</dc:creator>
		<pubDate>Fri, 09 Apr 2010 17:48:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-6196</guid>
		<description>The easiest way to do this is to put styles in your App.xaml.  In your other projects, add a link to the App.xaml file in your main project, and set the build action not to build it into the XAP.  This should allow you to work with your pages that use resources in the App.xaml in the designers.

As for just loading dlls on demand, I don&#039;t have a super-simple sample, but you can take a look at my old post from SL3: http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/

That post does allow you to load directly from a dll, if I recall correctly.  It&#039;s a different model because there was no INavigationContentLoader, but the mechanism is otherwise the same, and you could modify the XapContentLoader I wrote to also work with dlls as targets.</description>
		<content:encoded><![CDATA[<p>The easiest way to do this is to put styles in your App.xaml.  In your other projects, add a link to the App.xaml file in your main project, and set the build action not to build it into the XAP.  This should allow you to work with your pages that use resources in the App.xaml in the designers.</p>
<p>As for just loading dlls on demand, I don&#8217;t have a super-simple sample, but you can take a look at my old post from SL3: <a href="http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/" rel="nofollow">http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/</a></p>
<p>That post does allow you to load directly from a dll, if I recall correctly.  It&#8217;s a different model because there was no INavigationContentLoader, but the mechanism is otherwise the same, and you could modify the XapContentLoader I wrote to also work with dlls as targets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david.poll</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-6195</link>
		<dc:creator>david.poll</dc:creator>
		<pubDate>Fri, 09 Apr 2010 17:44:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-6195</guid>
		<description>I haven&#039;t seen this type of behavior myself.  In fact, if you look at my sample application, it&#039;s doing a cross-domain load from one of my other servers (that&#039;s actually a linux server running php).  The server type shouldn&#039;t matter...  Could it be that you&#039;re missing a MIME type for .xap files on your IIS 6 server?

-David</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t seen this type of behavior myself.  In fact, if you look at my sample application, it&#8217;s doing a cross-domain load from one of my other servers (that&#8217;s actually a linux server running php).  The server type shouldn&#8217;t matter&#8230;  Could it be that you&#8217;re missing a MIME type for .xap files on your IIS 6 server?</p>
<p>-David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Helen Warn</title>
		<link>http://www.davidpoll.com/2009/07/20/on-demand-loading-of-assemblies-with-silverlight-navigation/comment-page-1/#comment-6185</link>
		<dc:creator>Helen Warn</dc:creator>
		<pubDate>Thu, 08 Apr 2010 20:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2009/07/21/on-demand-loading-of-assemblies-with-silverlight-navigation/#comment-6185</guid>
		<description>I am finding that if I use the VS development web server this all works fine, but as soon as I use IIS (6) the Loader cannot seem to resolve the URLs. Any ideas?

Thx

Helen</description>
		<content:encoded><![CDATA[<p>I am finding that if I use the VS development web server this all works fine, but as soon as I use IIS (6) the Loader cannot seem to resolve the URLs. Any ideas?</p>
<p>Thx</p>
<p>Helen</p>
]]></content:encoded>
	</item>
</channel>
</rss>

