<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : The FakeBackingStore isn&#039;t reset when we hit F5 ?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : The FakeBackingStore isn&#039;t reset when we hit F5 ?</description>
  <pubDate>Fri, 17 Apr 2026 14:33:12 -700</pubDate>
  <lastBuildDate>Fri, 04 May 2012 09:20:44 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3422</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? : In Cocktail v0.1 the fake store...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13504#13504</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 04-May-2012 at 9:20am<br /><br />In Cocktail v0.1 the fake store initialization used to be implicit, but that all changed in Cocktail v0.2 and since then TempHire initializes the fake store in the Bootstrapper. I don't believe I ever had it in the Login VM. The data preloading is done in the Login VM, but not the fake store initialization.]]>
   </description>
   <pubDate>Fri, 04 May 2012 09:20:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13504#13504</guid>
  </item> 
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? : You were right.The fakestore initialization...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13498#13498</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 04-May-2012 at 6:30am<br /><br />You were right.<div><br></div><div>The fakestore initialization is in the login viewmodel (like temphire) but the data were loaded in the OnLoggedIn of the AuthenticationService.&nbsp;</div><div>I moved it to the Login VM.</div><div><br></div>]]>
   </description>
   <pubDate>Fri, 04 May 2012 06:30:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13498#13498</guid>
  </item> 
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? :   I can&amp;#039;t reproduce this....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13489#13489</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 03-May-2012 at 1:54pm<br /><br />I can't reproduce this. For kicks I added the following action in TempHire that allows me to reset the fake backing store by the click of a button and it resets it back to the initial state every time, provided obviously that I wait for the prompt before querying since reseting the backing store asynchronous.<div>&nbsp;</div><div>Are you sure that your app waits for the initialization/reset of the backing store to complete before it runs the first query?</div><div>&nbsp;</div><div><pre style=": white; color: black; font-family: C&#111;nsolas;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">public</span>&nbsp;<span style="color: rgb43, 145, 175;">IEnumerable</span>&lt;<span style="color: rgb43, 145, 175;">IResult</span>&gt;&nbsp;ResetData()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">var</span>&nbsp;provider&nbsp;=&nbsp;<span style="color: rgb43, 145, 175;">Composition</span>.GetInstance&lt;<span style="color: rgb43, 145, 175;">IEntityManagerProvider</span>&lt;<span style="color: rgb43, 145, 175;">TempHireEntities</span>&gt;&gt;();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">yield</span>&nbsp;<span style="color: blue;">return</span>&nbsp;provider.ResetFakeBackingStoreAsync(); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">var</span>&nbsp;dialogManager&nbsp;=&nbsp;<span style="color: rgb43, 145, 175;">Composition</span>.GetInstance&lt;<span style="color: rgb43, 145, 175;">IDialogManager</span>&gt;();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">yield</span>&nbsp;<span style="color: blue;">return</span>&nbsp;dialogManager.ShowMessageAsync(<span style="color: rgb163, 21, 21;">"Data&nbsp;has&nbsp;been&nbsp;reset"</span>,&nbsp;<span style="color: rgb43, 145, 175;">DialogButtons</span>.Ok);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</pre></div>]]>
   </description>
   <pubDate>Thu, 03 May 2012 13:54:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13489#13489</guid>
  </item> 
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? :  I tested the fix.In 30 attempts,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13488#13488</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 03-May-2012 at 12:05pm<br /><br />I tested the fix.&nbsp;<div>In 30 attempts, I reproduced the problem 4 times.</div><div><br></div><div>Edit : To be sure I did a clean compile (deleted all the obj/bin folders) and the problem still exist&nbsp;<br><div><br></div></div><span style="font-size:10px"><br /><br />Edited by Walid - 03-May-2012 at 12:39pm</span>]]>
   </description>
   <pubDate>Thu, 03 May 2012 12:05:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13488#13488</guid>
  </item> 
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? :   thank you </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13487#13487</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 03-May-2012 at 11:40am<br /><br />thank you]]>
   </description>
   <pubDate>Thu, 03 May 2012 11:40:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13487#13487</guid>
  </item> 
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? : The fix is in. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13486#13486</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 03-May-2012 at 11:39am<br /><br />The fix is in.&nbsp;]]>
   </description>
   <pubDate>Thu, 03 May 2012 11:39:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13486#13486</guid>
  </item> 
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? : I probably should actually clear...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13485#13485</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 03-May-2012 at 10:01am<br /><br />I probably should actually clear all the data before loading the new data. I'll see if I can sneak this in before I release v0.6 shortly.]]>
   </description>
   <pubDate>Thu, 03 May 2012 10:01:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13485#13485</guid>
  </item> 
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? : Silverlight !Ok that explain all,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13484#13484</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 03-May-2012 at 9:20am<br /><br />Silverlight !<div><br></div><div>Ok that explain all, I lost a lot of time figuring what was wrong on this one.&nbsp;</div><div>I think it might worth an litttle addition to the documentation so everyone knows about it.</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 03 May 2012 09:20:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13484#13484</guid>
  </item> 
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? :   Are you doing Silverlight...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13483#13483</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 03-May-2012 at 9:16am<br /><br />Are you doing Silverlight or n-tier WPF? If so, the fake store is kept on the server. Visual Studio leaves the server running between debug sessions, so the fake store stays alive. If you want clear slate, you have to manually stop the server process.]]>
   </description>
   <pubDate>Thu, 03 May 2012 09:16:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13483#13483</guid>
  </item> 
  <item>
   <title>The FakeBackingStore isn&#039;t reset when we hit F5 ? : Hi,I am experimenting a strange...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13480#13480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3422<br /><strong>Posted:</strong> 03-May-2012 at 6:53am<br /><br />Hi,<div><br></div><div>I am experimenting a strange behavior with the faking. When I hit F5, sometimes (I can't always reproduce it), the data I previously saved in the fakinstore are still here in the new session of my application.</div><div>After hitting F5, the SampleDataProviders correctly fill the manager but at the end when I query it I get "extra" entities coming from my previous session.</div><div><br></div><div>How is that possible ?&nbsp;</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 03 May 2012 06:53:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3422&amp;PID=13480#13480</guid>
  </item> 
 </channel>
</rss>