<?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 : TempHire and Cancellation Tokens</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : TempHire and Cancellation Tokens</description>
  <pubDate>Sat, 11 Apr 2026 07:37:59 -700</pubDate>
  <lastBuildDate>Sun, 03 Feb 2013 22:08:25 -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=3972</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>TempHire and Cancellation Tokens :   Murray,You might be too optimistic...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3972&amp;PID=15781#15781</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> 3972<br /><strong>Posted:</strong> 03-Feb-2013 at 10:08pm<br /><br />Murray,<div>You might be too optimistic with your understanding of the cancellation token. The cancellation token is only a request to cancel an operation. There's no guarantee that the request&nbsp;is&nbsp;processed in time or processed at all. For example in DevForce, once a query is sent to the server it can no longer be cancelled. In addition if you let the user proceed before all the data is loaded you risk older queries overwriting the results of newer queries, because there is no guarantee that the results arrive in the same sequence&nbsp;as the queries were executed. What this means is that your UI has to be prepared to receive results out of sequence and results that are no longer needed. Both cases can be dealt with by using sequence numbers to correlate the results to the original queries and decide whether the results should be discarded. Using a cancellation token to attempt to cancel the queries will buy you very little. You still have to deal with out of sequence results and results that were sent to the client because the cancellation request came in too late. </div><div>&nbsp;</div><div>These concerns&nbsp;are not there in&nbsp;the latest version of TempHire, because it doesn't reuse ViewModels when the user changes the root entity, so there is no risk of out of sequence results. As you've probably noticed, TempHire doesn't prevent the user from selecting another staffing resource while the previous one is still loading, but because it loads each staffing resource into a new detail composition,&nbsp;it doesn't&nbsp;have to deal with the above. </div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Sun, 03 Feb 2013 22:08:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3972&amp;PID=15781#15781</guid>
  </item> 
  <item>
   <title>TempHire and Cancellation Tokens : No I am notBut that is also not...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3972&amp;PID=15780#15780</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1375" rel="nofollow">murray.bryant</a><br /><strong>Subject:</strong> 3972<br /><strong>Posted:</strong> 03-Feb-2013 at 8:34pm<br /><br />No I am not<div><br></div><div>But that is also not a solution in my mind.</div><div><br></div><div>The page is designed to load up async independently. ( multiple view models)</div><div><br></div><div>If the user then wants to change the data source of the base viewmodel ( ie a different base entity) then the whole process should cancel gracefully then start again. Locking up the interface would not be a good user experiance in this case</div><div><br></div><div>This is what the cancellation tokens are for. What I am wondering is what is the best practice for doing this using the base of temphire/cocktail framework</div><div><br></div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Sun, 03 Feb 2013 20:34:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3972&amp;PID=15780#15780</guid>
  </item> 
  <item>
   <title>TempHire and Cancellation Tokens : Are you using busy indicators...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3972&amp;PID=15779#15779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 3972<br /><strong>Posted:</strong> 03-Feb-2013 at 7:16pm<br /><br />Are you using busy indicators to stop users from performing actions while an async method is running?<br>]]>
   </description>
   <pubDate>Sun, 03 Feb 2013 19:16:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3972&amp;PID=15779#15779</guid>
  </item> 
  <item>
   <title>TempHire and Cancellation Tokens : HiI am currently working through...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3972&amp;PID=15778#15778</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1375" rel="nofollow">murray.bryant</a><br /><strong>Subject:</strong> 3972<br /><strong>Posted:</strong> 03-Feb-2013 at 5:41pm<br /><br />Hi<div><br></div><div>I am currently working through the patterns in the temphire application to implement a new solutions.</div><div><br></div><div>My question is with all of the viewmodels separated and each handling their own async data connections &nbsp;how do you recommend I share a cancellation token between them all?</div><div><br></div><div>I can't see temphire implementing this anywhere. And from my perspective this is a huge requirement to stop the application crashing often as the user clicks through data rich interfaces.</div><div><br></div><div>thanks</div><div><br></div><div>Murray</div>]]>
   </description>
   <pubDate>Sun, 03 Feb 2013 17:41:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3972&amp;PID=15778#15778</guid>
  </item> 
 </channel>
</rss>