<?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 : Application Library Caching problem</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Application Library Caching problem</description>
  <pubDate>Sun, 12 Apr 2026 16:15:26 -700</pubDate>
  <lastBuildDate>Mon, 31 Jan 2011 12:12:33 -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=2473</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>Application Library Caching problem : We haven&amp;#039;t actually posted...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2473&amp;PID=9845#9845</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> 2473<br /><strong>Posted:</strong> 31-Jan-2011 at 12:12pm<br /><br />We haven't actually posted our documentation for this, it's coming soon :).&nbsp; Supporting a "late" initialization of IdeaBlade defaults from our assemblies is a good idea, just not something we included in this release.]]>
   </description>
   <pubDate>Mon, 31 Jan 2011 12:12:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2473&amp;PID=9845#9845</guid>
  </item> 
  <item>
   <title>Application Library Caching problem : Okay, that makes sense. So you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2473&amp;PID=9844#9844</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=613" rel="nofollow">stephenmcd1</a><br /><strong>Subject:</strong> 2473<br /><strong>Posted:</strong> 31-Jan-2011 at 11:37am<br /><br />Okay, that makes sense. &nbsp;So you should really only enable Application Library Caching on the "non-primary" XAPs. &nbsp;I didn't realize that from what the documentation had to say. &nbsp;Thanks for the clarification.&nbsp;]]>
   </description>
   <pubDate>Mon, 31 Jan 2011 11:37:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2473&amp;PID=9844#9844</guid>
  </item> 
  <item>
   <title>Application Library Caching problem : Application library caching of...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2473&amp;PID=9829#9829</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> 2473<br /><strong>Posted:</strong> 28-Jan-2011 at 6:12pm<br /><br /><P>Application library caching of the DevForce assemblies is intended primarily for use in multi-XAP applications.&nbsp; If you're using DevForce in the main application XAP then all DevForce assemblies need to be part of that XAP for MEF initialization to succeed&nbsp;(actually, it's only EntityModel.SL and Core.SL which have exported parts at this time).&nbsp;&nbsp; We don't currently support probing of the IdeaBlade assemblies after initialization, although that's something we can look into.</P>]]>
   </description>
   <pubDate>Fri, 28 Jan 2011 18:12:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2473&amp;PID=9829#9829</guid>
  </item> 
  <item>
   <title>Application Library Caching problem : I upgraded to 6.0.8.0 and wanted...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2473&amp;PID=9828#9828</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=613" rel="nofollow">stephenmcd1</a><br /><strong>Subject:</strong> 2473<br /><strong>Posted:</strong> 28-Jan-2011 at 4:15pm<br /><br /><p>I upgraded to 6.0.8.0 and wanted to try the Application Library Caching functionality but ran into problems. &nbsp; &nbsp;</p><p>There seems to be some problems with the MEF probing - looking at the Debug Log on the client, when I have Application Library Caching (ALC) enabled, some of the probing fails. &nbsp;Specifically, here are some event from the <strong><em>working</em></strong> version of my app:</p><p><table width="99%"><tr><td><pre class="BBcode">CompositionContext: '-IbDefault-' - Probed for default 'IDataSourceKeyResolver' and <strong>found</strong> 'IdeaBlade.EntityModel.DefaultDataSourceKeyResolver'.<br>Trying programmatic configuration of EntityService<br>CompositionContext: '-IbDefault-' - Probed for any 'ServiceProxyEvents' and <strong>found</strong> 'IdeaBlade.EntityModel.ServiceProxyEvents'.<br>Created proxy to EntityService using Uri http://smcdaniel/Dev/60/Primary/EntityService.svc/sl</pre></td></tr></table></p><p>But with ALC enabled, I end up with this:</p><p><table width="99%"><tr><td><pre class="BBcode">CompositionContext: '-IbDefault-' - Probed for default 'IDataSourceKeyResolver' and <strong>found no</strong> matching exports.<br>Trying programmatic configuration of EntityService<br>CompositionContext: '-IbDefault-' - Probed for any 'ServiceProxyEvents' and <strong>found no</strong> matching exports.<br><strong>Object reference not set to an instance of an object.</strong></pre></td></tr></table><br></p><p>Notice that the two probings fail. &nbsp;And when it can't find a ServiceProxyEvent class to use, that immediately results in a NullReferenceException that effectively halts my application.<br></p><p>I've narrowed it down to just IdeaBlade.EntityModel.SL.dll. &nbsp;With other IdeaBlade DLLs, I can get it to work but not this one. &nbsp;But I guess that makes sense sense the classes it's probing for are in that DLL.</p><p>Am I doing something wrong or do I need to somehow tell MEF to probe outside of the XAP and include the externally loaded IdeaBlade DLLs?</p><p>Thanks,</p><p>-Stephen</p>]]>
   </description>
   <pubDate>Fri, 28 Jan 2011 16:15:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2473&amp;PID=9828#9828</guid>
  </item> 
 </channel>
</rss>