<?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 &#8211; Revisited for Silverlight 4 Beta</title>
	<atom:link href="http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/</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: brennt</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8474</link>
		<dc:creator>brennt</dc:creator>
		<pubDate>Fri, 29 Jul 2011 10:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8474</guid>
		<description>hi, im not using your code, but...

when im trying to go like this:

[code]InternalContentFrame.Navigate(new Uri(&quot;P1.xaml&quot;, UriKind.RelativeOrAbsolute));[code]

i get an exception:

The type &quot;AssemblyName.Views.P1&quot; specified in the x:Class of &quot;AssemblyName;component/Views/P1.xaml&quot; could not be found in any loaded assembly.

which cant be true coz
1. control containing FRAME is located in the same assembly
2. this works like a charm:

[code]
[ImportMany(AllowRecomposition = true)]
public Page[] MEFPagesList { get; set; }

private void ContentFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
        {
            e.Handled = true;
            InternalContentFrame.Content = MEFPagesList[0];
        }[/code]

unfortunately it does not support any of the &quot;navigation&quot; properties e.g. browser navigation support

can anyone help?</description>
		<content:encoded><![CDATA[<p>hi, im not using your code, but&#8230;</p>
<p>when im trying to go like this:</p>
<div class="cic_codes_div"><code>InternalContentFrame.Navigate(new Uri(&quot;P1.xaml&quot;, UriKind.RelativeOrAbsolute));[code]</p>
<p>i get an exception:</p>
<p>The type &quot;AssemblyName.Views.P1&quot; specified in the x:Class of &quot;AssemblyName;component/Views/P1.xaml&quot; could not be found in any loaded assembly.</p>
<p>which cant be true coz<br />
1. control containing FRAME is located in the same assembly<br />
2. this works like a charm:</p>
<p>[code]<br />
[ImportMany(AllowRecomposition = true)]<br />
public Page[] MEFPagesList { get; set; }</p>
<p>private void ContentFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)<br />
        {<br />
            e.Handled = true;<br />
            InternalContentFrame.Content = MEFPagesList[0];<br />
        }</code></div>
<p>unfortunately it does not support any of the "navigation" properties e.g. browser navigation support</p>
<p>can anyone help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hyacinth Broadchest</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8454</link>
		<dc:creator>Hyacinth Broadchest</dc:creator>
		<pubDate>Mon, 18 Jul 2011 07:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8454</guid>
		<description>Hi David,
Worked brilliantly in my Sliverlight Navigation project.  Then I tried to apply that to a SL Business Applications WCF RIA project, and can&#039;t really get it to work at all.  Symptoms are: It packages all the SLaB dlls into the xap.  And attempting to load one of those new xaps throws an error.  xaps generated under the SL Nav project and copied into /ClientBin still work fine, but these can&#039;t access the data services...

Many thanks,  Hyacinth.</description>
		<content:encoded><![CDATA[<p>Hi David,<br />
Worked brilliantly in my Sliverlight Navigation project.  Then I tried to apply that to a SL Business Applications WCF RIA project, and can&#8217;t really get it to work at all.  Symptoms are: It packages all the SLaB dlls into the xap.  And attempting to load one of those new xaps throws an error.  xaps generated under the SL Nav project and copied into /ClientBin still work fine, but these can&#8217;t access the data services&#8230;</p>
<p>Many thanks,  Hyacinth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8295</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sat, 11 Jun 2011 21:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8295</guid>
		<description>Hi David
After weighing the pros and cons, I decided to go with storing the xaps in the isolated storage - using it as a cache. I think this gives me more control and allows me to create some sort of versioning as well. Though obviously there are some drawbacks as well...

It could be done with minimal modification to your SLaB code, and a custom ContentLoader...

Thanks
/Peter</description>
		<content:encoded><![CDATA[<p>Hi David<br />
After weighing the pros and cons, I decided to go with storing the xaps in the isolated storage &#8211; using it as a cache. I think this gives me more control and allows me to create some sort of versioning as well. Though obviously there are some drawbacks as well&#8230;</p>
<p>It could be done with minimal modification to your SLaB code, and a custom ContentLoader&#8230;</p>
<p>Thanks<br />
/Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david.poll</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8288</link>
		<dc:creator>david.poll</dc:creator>
		<pubDate>Fri, 10 Jun 2011 15:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8288</guid>
		<description>Peter,
It&#039;s a bit difficult -- Silverlight doesn&#039;t support what you need to do this: multiple AppDomains.  This is how you would accomplish this kind of version isolation that you&#039;re describing.  The only thing I can think of is to regenerate the assemblies before they&#039;re loaded, changing the names of all of the classes (and updating references within).  You might be able to do this with Reflection emit or some other tools along those lines, but it&#039;s likely to be slow and bug-prone (e.g. if you change the name of a class and the class is referenced in XAML, you&#039;d better understand how to change the XAML to get the right result).

-David</description>
		<content:encoded><![CDATA[<p>Peter,<br />
It&#8217;s a bit difficult &#8212; Silverlight doesn&#8217;t support what you need to do this: multiple AppDomains.  This is how you would accomplish this kind of version isolation that you&#8217;re describing.  The only thing I can think of is to regenerate the assemblies before they&#8217;re loaded, changing the names of all of the classes (and updating references within).  You might be able to do this with Reflection emit or some other tools along those lines, but it&#8217;s likely to be slow and bug-prone (e.g. if you change the name of a class and the class is referenced in XAML, you&#8217;d better understand how to change the XAML to get the right result).</p>
<p>-David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8286</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 10 Jun 2011 13:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8286</guid>
		<description>Hi David

I seem to be struggeling a bit with implementing a solution for the &quot;cache loading problem&quot;. I would very much like to reload xap&#039;s that has been modified (a little like what is done with a HttpHandler on this page - http://stackoverflow.com/questions/2281919/expiry-silverlight-xap-file-from-browser-cache-programmatically/4997375#4997375) however I am afraid that I cannot get it to work - not even with inspiration from your XapContentLoader. 

Would you consider implementing something that can help with the loading of modified assemblies/xaps. Maybe some kind of versioning. If you do not have the time, do you perhaps have some hints as to how to get it implemented?

Any help would be much appriciated...

Best Regards
Peter</description>
		<content:encoded><![CDATA[<p>Hi David</p>
<p>I seem to be struggeling a bit with implementing a solution for the &#8220;cache loading problem&#8221;. I would very much like to reload xap&#8217;s that has been modified (a little like what is done with a HttpHandler on this page &#8211; <a href="http://stackoverflow.com/questions/2281919/expiry-silverlight-xap-file-from-browser-cache-programmatically/4997375#4997375" rel="nofollow">http://stackoverflow.com/questions/2281919/expiry-silverlight-xap-file-from-browser-cache-programmatically/4997375#4997375</a>) however I am afraid that I cannot get it to work &#8211; not even with inspiration from your XapContentLoader. </p>
<p>Would you consider implementing something that can help with the loading of modified assemblies/xaps. Maybe some kind of versioning. If you do not have the time, do you perhaps have some hints as to how to get it implemented?</p>
<p>Any help would be much appriciated&#8230;</p>
<p>Best Regards<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8263</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Mon, 06 Jun 2011 10:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8263</guid>
		<description>Hi David.

Can you please share the Source of Sample, cant find and download it!

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi David.</p>
<p>Can you please share the Source of Sample, cant find and download it!</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david.poll</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8109</link>
		<dc:creator>david.poll</dc:creator>
		<pubDate>Wed, 04 May 2011 17:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8109</guid>
		<description>By default, Silverlight will cache these downloads.  More importantly, however, the CLR in Silverlight will only load an assembly once -- subsequent attempts to load an assembly with the same name (even if it&#039;s not identical) will continue to reuse the original assembly loaded.  With a ContentLoader, however, you could specify a different scheme that uses assemblies with different names each time the URL is requested, and this would help get you around this problem.</description>
		<content:encoded><![CDATA[<p>By default, Silverlight will cache these downloads.  More importantly, however, the CLR in Silverlight will only load an assembly once &#8212; subsequent attempts to load an assembly with the same name (even if it&#8217;s not identical) will continue to reuse the original assembly loaded.  With a ContentLoader, however, you could specify a different scheme that uses assemblies with different names each time the URL is requested, and this would help get you around this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyre</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8090</link>
		<dc:creator>Kyre</dc:creator>
		<pubDate>Sun, 01 May 2011 23:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8090</guid>
		<description>Hello!.

(First of all, excuse my english, is not my first language)

Very interesting job, thanks.

I have read the article, it&#039;s very interesting. I donwloaded and ran the examples, and now I have a question.

When we execute an app  and we access to diferents xamls in the same xap, only donwload this xap once. (Ok, that&#039;s expected) But if we run de app few days after and navigate to one of those xamls, the app checks if it must download de xap again or will use the xap downloaded few days ago?

In other words: EVERY time I navigate to a xaml (in independent executions in the same pc) app will download xap?

Thanks again.</description>
		<content:encoded><![CDATA[<p>Hello!.</p>
<p>(First of all, excuse my english, is not my first language)</p>
<p>Very interesting job, thanks.</p>
<p>I have read the article, it&#8217;s very interesting. I donwloaded and ran the examples, and now I have a question.</p>
<p>When we execute an app  and we access to diferents xamls in the same xap, only donwload this xap once. (Ok, that&#8217;s expected) But if we run de app few days after and navigate to one of those xamls, the app checks if it must download de xap again or will use the xap downloaded few days ago?</p>
<p>In other words: EVERY time I navigate to a xaml (in independent executions in the same pc) app will download xap?</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: isheeple</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8036</link>
		<dc:creator>isheeple</dc:creator>
		<pubDate>Wed, 06 Apr 2011 15:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8036</guid>
		<description>Sorry I submitted too soon. I have a case where I need to tell something else to recompose when I am done downloading the request xap + lazy assemblies and I was looking for a hook.</description>
		<content:encoded><![CDATA[<p>Sorry I submitted too soon. I have a case where I need to tell something else to recompose when I am done downloading the request xap + lazy assemblies and I was looking for a hook.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: isheeple</title>
		<link>http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/comment-page-1/#comment-8035</link>
		<dc:creator>isheeple</dc:creator>
		<pubDate>Wed, 06 Apr 2011 15:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/02/01/on-demand-loading-of-assemblies-with-silverlight-navigation-revisited-for-silverlight-4-beta/#comment-8035</guid>
		<description>David, nice work. Looking through the code I do not see a way to monitor when downloading is complete - did I miss it or do I need to add that myself?</description>
		<content:encoded><![CDATA[<p>David, nice work. Looking through the code I do not see a way to monitor when downloading is complete &#8211; did I miss it or do I need to add that myself?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

