<?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 : Does Faking need the BOS?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Does Faking need the BOS?</description>
  <pubDate>Sun, 12 Apr 2026 06:15:35 -700</pubDate>
  <lastBuildDate>Thu, 28 Jul 2011 08:42:14 -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=2846</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>Does Faking need the BOS? :   Hi Chris,Unfortunately, faking...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2846&amp;PID=11322#11322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2846<br /><strong>Posted:</strong> 28-Jul-2011 at 8:42am<br /><br />Hi Chris,<div>&nbsp;</div><div>Unfortunately, faking in Silverlight does need the BOS, since the faking implementation is making async calls to the server where the fake store is located.&nbsp;&nbsp; Since this&nbsp;isn't realistic with&nbsp;an automated test runner, another approach for your unit tests might be to use a disconnected EntityManager with preloaded test data, say from an EntityCacheState.&nbsp; Some of the code samples take this approach, one&nbsp;being the "Querying" sample at <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-sample-querying" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-querying</a>.</div><div>&nbsp;&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 28 Jul 2011 08:42:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2846&amp;PID=11322#11322</guid>
  </item> 
  <item>
   <title>Does Faking need the BOS? : Hello,I am created an EntityManager...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2846&amp;PID=11296#11296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1111" rel="nofollow">cseils</a><br /><strong>Subject:</strong> 2846<br /><strong>Posted:</strong> 25-Jul-2011 at 5:50pm<br /><br />Hello,<div><br></div><div>I am created an EntityManager in a unit test using the CompositionContext.Fake with the following line of code:</div><div><br></div><div>var em = new DomainModelEntityManager(compositionContextName: CompositionContext.Fake.Name);</div><div><br></div><div>This works fine when running the silverlight unit test runner from the browser.</div><div>However when I run this from Devexpress's Coderush Test runner, I get the white screen of death and in the StatLight test runner, I get the more informed error of:</div><div><br></div><div><div>An unknown request was made to the StatLight's web server. You may want to check your test project for what generated the following request.</div><div>********** Request Information **********</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Url : http://localhost:8887/EntityService.svc/sl</div></div><div><br></div><div>Is it possible to use faking this way without the Business object server running? &nbsp;</div><div><br></div><div>Thanks</div><div>Chris</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 25 Jul 2011 17:50:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2846&amp;PID=11296#11296</guid>
  </item> 
 </channel>
</rss>