<?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 : How to use Ideablade server side?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : How to use Ideablade server side?</description>
  <pubDate>Mon, 13 Apr 2026 16:14:45 -700</pubDate>
  <lastBuildDate>Tue, 13 Nov 2012 08:17:12 -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=3790</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>How to use Ideablade server side? : Well, what you use is up to you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3790&amp;PID=15185#15185</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> 3790<br /><strong>Posted:</strong> 13-Nov-2012 at 8:17am<br /><br />Well, what you use is up to you as long as it's not Cocktail/Caliburn.Micro.]]>
   </description>
   <pubDate>Tue, 13 Nov 2012 08:17:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3790&amp;PID=15185#15185</guid>
  </item> 
  <item>
   <title>How to use Ideablade server side? : So you suggest me to not use Cocktail/Caliburn...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3790&amp;PID=15183#15183</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3790<br /><strong>Posted:</strong> 13-Nov-2012 at 1:14am<br /><br />So you suggest me to not use Cocktail/Caliburn Micro but a canonical MEF?]]>
   </description>
   <pubDate>Tue, 13 Nov 2012 01:14:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3790&amp;PID=15183#15183</guid>
  </item> 
  <item>
   <title>How to use Ideablade server side? :   You need to ensure that you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3790&amp;PID=15174#15174</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> 3790<br /><strong>Posted:</strong> 12-Nov-2012 at 9:08am<br /><br />You need to ensure that you create a new EntityManager in each WCF request. What is tmrEntityManager and where does it get created? You get this exception, because you are obviously using an EntityManager from a previous request. You can't share an EntityManager between multiple requests. Each WCF request is handled by its own thread.<div><br></div><div>Are you trying to use Cocktail on the server by any chance? If so, that's not going to work. For one thing it uses a single gobal MEF container. That's fine on a client, but that's not going to work on the server. Each WCF request should use it's own container, otherwise if you have shared parts in your container, for example an EntityManagerProvider, you end up in exactly this situation where you&nbsp;inadvertently&nbsp;share instances across WCF requests and you end up in a threading nightmare.&nbsp;</div><span style="font-size:10px"><br /><br />Edited by mgood - 12-Nov-2012 at 9:23am</span>]]>
   </description>
   <pubDate>Mon, 12 Nov 2012 09:08:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3790&amp;PID=15174#15174</guid>
  </item> 
  <item>
   <title>How to use Ideablade server side? : Hello,I&amp;#039;ve a silverlight5...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3790&amp;PID=15173#15173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3790<br /><strong>Posted:</strong> 12-Nov-2012 at 5:46am<br /><br />Hello,<br>I've a silverlight5 application, I'm using Telerik Reporting for generating reports, Telerik Reporting uses CaliburnMicro/Cocktail to retrieve data (using an IApplicationRepository) . When I generate a file from the WebServer (in a WCF service) I got the exception that the thread used is not the one what's been istantiated before, I've fixed for now using<br><br>&nbsp; public IEnumerable&lt;IF_SP_TMR_SNAPSHOT_INDICATORE_SELECT_Result&gt; GetSnapshotFromGaugeAvg(int idGauge, DateTime startDate, DateTime endDate,int stepping)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tmrEntityManager.Manager.AuthorizedThreadId = null; //&lt;----THIS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var query = tmrEntityManager.Manager.IF_SP_TMR_SNAPSHOT_INDICATORE_SELECT_AVGQuery(idGauge, startDate, endDate,stepping);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var op = query.Execute();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return op.Cast&lt;IF_SP_TMR_SNAPSHOT_INDICATORE_SELECT_Result&gt;().AsEnumerable();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>How can I fix it in order to avoid this workaroud? Consider I need to wait before transferring the report back to SL so I can't use the ExecuteAsync<br><br>Thanks<br>]]>
   </description>
   <pubDate>Mon, 12 Nov 2012 05:46:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3790&amp;PID=15173#15173</guid>
  </item> 
 </channel>
</rss>