<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx</link><description>I wanted to build a multi-page (Search - Results) application when I realized that isn&amp;#39;t really our model. Fortunately, I wrote to Ashish Shetty , who combines enormous knowledge with enormous kindness, and even though he is in the middle of blogging</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>re: Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#235456</link><pubDate>Fri, 19 Jun 2009 11:48:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:235456</guid><dc:creator>mehtapratik</dc:creator><description>&lt;p&gt;Can anyone implemented this so that application performance is not affected??&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=235456" width="1" height="1"&gt;</description></item><item><title>Silverlight Travel &amp;raquo; Switching XAP Files on the Client Side</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#165459</link><pubDate>Sat, 24 Jan 2009 09:18:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:165459</guid><dc:creator>Silverlight Travel » Switching XAP Files on the Client Side</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight Travel &amp;amp;raquo; Switching XAP Files on the Client Side&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=165459" width="1" height="1"&gt;</description></item><item><title>re: Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#155941</link><pubDate>Mon, 05 Jan 2009 11:54:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155941</guid><dc:creator>RenyCaine</dc:creator><description>&lt;p&gt;Any lead on how to navigate pages in 1 xaml page?&lt;/p&gt;
&lt;p&gt;i visited the Silverlight forums, nobody give the right lead.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=155941" width="1" height="1"&gt;</description></item><item><title>re: Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#155549</link><pubDate>Sun, 04 Jan 2009 00:32:52 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155549</guid><dc:creator>gthardy</dc:creator><description>&lt;p&gt;PageSwitcher pageSwitcher = new PageSwitcher();&lt;/p&gt;
&lt;p&gt;This solved my object not set to instance issue.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=155549" width="1" height="1"&gt;</description></item><item><title>re: Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#153170</link><pubDate>Sun, 28 Dec 2008 13:28:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:153170</guid><dc:creator>gthardy</dc:creator><description>&lt;p&gt;I am having a similar issue as donmaris; &lt;/p&gt;
&lt;p&gt;&amp;quot;Object not set to an instance of an object&amp;quot;. at this point in the code&lt;/p&gt;
&lt;p&gt;ps.Navigate(new Page2());&lt;/p&gt;
&lt;p&gt;Any ideas on why this may occur with SL2?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=153170" width="1" height="1"&gt;</description></item><item><title>Switching XAP Files on the Client Side</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#151617</link><pubDate>Tue, 23 Dec 2008 04:16:02 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:151617</guid><dc:creator>Bryant Likes's Blog</dc:creator><description>&lt;p&gt;qingquan126778 asked the question in the Silverlight forums about how to switch between pages in Silverlight&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=151617" width="1" height="1"&gt;</description></item><item><title>re: Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#118568</link><pubDate>Mon, 27 Oct 2008 19:36:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:118568</guid><dc:creator>donmarais</dc:creator><description>&lt;p&gt;How will the implementation change for SL2 RTW?&lt;/p&gt;
&lt;p&gt;I'm having a problem with the navigation function.&lt;/p&gt;
&lt;p&gt;void Switch_Click(object sender, RoutedEventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PageSwitcher ps = this.Parent as PageSwitcher;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ps.Navigate(new Video());&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;For some reason, I'm getting an error on my button switch click. Object reference not set to an instance of an object.&lt;/p&gt;
&lt;p&gt;It worked in SL2B2, but now I'm having hassles to implement.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=118568" width="1" height="1"&gt;</description></item><item><title>Recent Faves Tagged With "multipage" : MyNetFaves</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#100646</link><pubDate>Wed, 01 Oct 2008 11:20:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:100646</guid><dc:creator>Recent Faves Tagged With "multipage" : MyNetFaves</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Recent Faves Tagged With &amp;quot;multipage&amp;quot; : MyNetFaves&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=100646" width="1" height="1"&gt;</description></item><item><title>Silverlight 2.0: Beyond the Basics</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#85151</link><pubDate>Fri, 29 Aug 2008 16:18:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85151</guid><dc:creator>Craig Shoemaker</dc:creator><description>&lt;p&gt;Listen to the Show! Jesse Liberty the &amp;quot;Silverlight Geek&amp;quot; wants to help you dive deeper into Silverlight&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=85151" width="1" height="1"&gt;</description></item><item><title>Michael Sync  &amp;raquo; 10 Silverlight 2 gotchas resolved: By Antoni Dol</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#72752</link><pubDate>Sat, 19 Jul 2008 07:20:00 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:72752</guid><dc:creator>Michael Sync  » 10 Silverlight 2 gotchas resolved: By Antoni Dol</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Michael Sync &amp;nbsp;&amp;amp;raquo; 10 Silverlight 2 gotchas resolved: By Antoni Dol&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=72752" width="1" height="1"&gt;</description></item><item><title>re: Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#66611</link><pubDate>Mon, 30 Jun 2008 16:40:52 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:66611</guid><dc:creator>matt_stephens</dc:creator><description>&lt;p&gt;Could you elaborate on what you mean by 'navigate by reference'?&lt;/p&gt;
&lt;p&gt;I never downloaded your code, only read the article and implemented a quick test. I am not maintaining any references from any of my page classes to the ones i navigate to so i can only assume it's the underlying handling of objects within silverlight that is stopping my 'pages' from getting garbage collected.&lt;/p&gt;
&lt;p&gt;Thanks for any help. Look forward to the video.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=66611" width="1" height="1"&gt;</description></item><item><title>re: Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#66589</link><pubDate>Mon, 30 Jun 2008 15:31:50 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:66589</guid><dc:creator>jesseliberty</dc:creator><description>&lt;p&gt;Matt, you are absolutely correct. After talking with Ashish (who is truly a generous and smart person) and revisiting my code:&lt;/p&gt;
&lt;p&gt;1. The way I am doing it is by having references in each page to the other, (much like WPF’s navigation model, the “navigate by object” pattern) which does allow for creating retrievable state but is not what I intended. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. There is an obvious alternative (using &amp;quot;navigate by reference&amp;quot;) that I will demonstrate in an upcoming video (a few weeks).&lt;/p&gt;
&lt;p&gt;Thanks for pointing this out.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=66589" width="1" height="1"&gt;</description></item><item><title>re: Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#66512</link><pubDate>Mon, 30 Jun 2008 11:34:34 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:66512</guid><dc:creator>matt_stephens</dc:creator><description>&lt;p&gt;Pages aren't garbage collected!&lt;/p&gt;
&lt;p&gt;I just created a small sample based on this to test that the garbage collector does reclaim the page but it appears not to until the browser is closed.&lt;/p&gt;
&lt;p&gt;I added a finalizer to one of my pages and put a breakpoint in it. On one of the other pages i call GC.Collect() after calling the Navigate method. No matter how many times i cycle round different pages i never see the finalizer run but as soon as i exit the browser the finalizer runs for every instance of the page that i created.&lt;/p&gt;
&lt;p&gt;In Ashish Shetty's article all pages are created up front and i wonder if this is the reason? We want to write an application that could potentially be running for a very long time so to know that the garbage collector is working properly and we're not going to consume loads of memory is very important to us.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=66512" width="1" height="1"&gt;</description></item><item><title>re: Multi-Page Applications in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#64981</link><pubDate>Wed, 25 Jun 2008 10:02:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:64981</guid><dc:creator>Suprotim Agarwal</dc:creator><description>&lt;p&gt;Pingback from :&lt;/p&gt;
&lt;p&gt;How to Navigate and Pass Values between Pages using Silverlight 2 Beta 2 &lt;/p&gt;
&lt;p&gt;at&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.dotnetcurry.com/ShowArticle.aspx?ID=166"&gt;www.dotnetcurry.com/ShowArticle.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=64981" width="1" height="1"&gt;</description></item><item><title>Pages in Silverlight</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/05/31/multi-page-applications-in-silverlight.aspx#58586</link><pubDate>Mon, 09 Jun 2008 02:05:08 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:58586</guid><dc:creator>Microsoft Weblogs</dc:creator><description>&lt;p&gt;Pages as a paradigm likely pre-date the web itself although they have been popularized by document-based&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=58586" width="1" height="1"&gt;</description></item></channel></rss>