<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Building a Windows Phone 7 Application–Data Binding and Persistence!</title><link>http://blogs.msdn.com/b/amit_chatterjee/archive/2011/04/16/building-a-windows-phone-7-application-data-binding-and-persistence.aspx</link><description>The IPLT20 cricket championship is currently in progress – this means there is a lot of cricket on Television. Usually a couple of games from 4pm to almost midnight! If you don’t have any other plans, these games are a great option to while away your</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Building a Windows Phone 7 Application–Data Binding and Persistence!</title><link>http://blogs.msdn.com/b/amit_chatterjee/archive/2011/04/16/building-a-windows-phone-7-application-data-binding-and-persistence.aspx#10332429</link><pubDate>Mon, 23 Jul 2012 04:43:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10332429</guid><dc:creator>.net performance</dc:creator><description>&lt;p&gt;In this article There is a huge amount of information available on the how’s and why’s of performance testing .NET applications.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.dapfor.com/en/net-suite/net-grid/features/performance"&gt;www.dapfor.com/.../performance&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10332429" width="1" height="1"&gt;</description></item><item><title>re: Building a Windows Phone 7 Application–Data Binding and Persistence!</title><link>http://blogs.msdn.com/b/amit_chatterjee/archive/2011/04/16/building-a-windows-phone-7-application-data-binding-and-persistence.aspx#10304788</link><pubDate>Mon, 14 May 2012 08:55:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10304788</guid><dc:creator>rakesh</dc:creator><description>&lt;p&gt;Official website of film Association in Delhi/Official website of film Association in Delhi NCR / Official website of film Association in Mumbai Official website of film Association in India/Official website of India&amp;#39;s first Association Of Film Industry / film industry in Delhi,NCR,Punjab Hariyana,Up,Bihar promotion/ title banner registraion /director producer,artist and film maker association in india /bollywood calander artist list/ child artist models,ramp shows in ncr delhi/hariyana,up,bihar,india and india&amp;#39;s no one bollywood directory /artist details in india level/ Official portal of film industry in india/ Indian motion picture producers association / Indian film director association/ Indian film writers association /Indian film workers association/ Indian music directors association/ musician association in india/ Indian film technician association india delhi Mumbai patna bihar Punjab Haryana&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.ifaaassociation.com/"&gt;www.ifaaassociation.com&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10304788" width="1" height="1"&gt;</description></item><item><title>re: Building a Windows Phone 7 Application–Data Binding and Persistence!</title><link>http://blogs.msdn.com/b/amit_chatterjee/archive/2011/04/16/building-a-windows-phone-7-application-data-binding-and-persistence.aspx#10173552</link><pubDate>Sat, 11 Jun 2011 01:24:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10173552</guid><dc:creator>Gagan</dc:creator><description>&lt;p&gt;I actually just commented that line out and it worked..&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10173552" width="1" height="1"&gt;</description></item><item><title>re: Building a Windows Phone 7 Application–Data Binding and Persistence!</title><link>http://blogs.msdn.com/b/amit_chatterjee/archive/2011/04/16/building-a-windows-phone-7-application-data-binding-and-persistence.aspx#10167072</link><pubDate>Sun, 22 May 2011 05:40:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10167072</guid><dc:creator>Rohan</dc:creator><description>&lt;p&gt;Hey Nikhil, thanks for the wonderful example. I&amp;#39;m having some trouble with the LoadTimingsFromFile method. The debugger breaks at this line:&lt;/p&gt;
&lt;p&gt;inmemlist.Insert(i++, new Timings() { EventName = labelandtiming[0], timingsinms = labelandtiming[1] });&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve checked that labelandtiming is populated correctly, and that inmemlist is getting the values correctly. I can&amp;#39;t even catch the exception in spite of the code being in a try-catch block. Thoughts?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10167072" width="1" height="1"&gt;</description></item><item><title>re: Building a Windows Phone 7 Application–Data Binding and Persistence!</title><link>http://blogs.msdn.com/b/amit_chatterjee/archive/2011/04/16/building-a-windows-phone-7-application-data-binding-and-persistence.aspx#10164272</link><pubDate>Fri, 13 May 2011 16:14:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10164272</guid><dc:creator>Amit_Chatterjee'</dc:creator><description>&lt;p&gt;Hi Nikhil - thank you for your question.&lt;/p&gt;
&lt;p&gt;What exactly do you intend to do with an MVVM pattern for the button? Though the idea looks interesting it might be an overkill for the following reason - there are only 4 buttons on the Bar and few more Menuitems. The MVVM helps when you don’t know the number of items in the collection and it is bound to the view and the view gets notified of the changes in the properties automatically, saving a bit of coding.&lt;/p&gt;
&lt;p&gt;Regarding the tombstoing of the applications:&lt;/p&gt;
&lt;p&gt;a) Transient Data – Let’s say you start a stopwatch and then you went to some other app then it meant that you did not intend the stopwatch to run. So I don’t save this transient state for sake of simplicity. If needed I could potentially save this as well. &lt;/p&gt;
&lt;p&gt;b) Persisted Data – Before the App is tombstoned, we persist the data in the collection to the store and when the App is loaded again we read from the store and populate the collection and the data binding takes care of the rest to display.&lt;/p&gt;
&lt;p&gt;i)	PhoneApplicationService.Current.Deactivated and PhoneApplicationService.Current.Closed events are handled by saving the collection which is in memory to the store.&lt;/p&gt;
&lt;p&gt;ii)	As you can see, the method LoadTimingFromFile is called from MainPage() that reads from the file and populates the ObservableCollection.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10164272" width="1" height="1"&gt;</description></item><item><title>re: Building a Windows Phone 7 Application–Data Binding and Persistence!</title><link>http://blogs.msdn.com/b/amit_chatterjee/archive/2011/04/16/building-a-windows-phone-7-application-data-binding-and-persistence.aspx#10160541</link><pubDate>Tue, 03 May 2011 18:19:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10160541</guid><dc:creator>Nikhil</dc:creator><description>&lt;p&gt;Nice post! Is there no way to use an MVVM pattern for buttons or menus in the application bar? Also, what did you do to tombstone the application?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nikhil&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10160541" width="1" height="1"&gt;</description></item></channel></rss>