<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Obtaining and Caching a Lot of Words</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx</link><description>It is surprising how often I wish I had a lot of words handy.&amp;#160; This week it has been because I've wanted to play with the AutoCompleteBox (you just set the list of words as the ItemSource for the control and voila! In previous posts I demonstrated</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>The Wrap Panel</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#141725</link><pubDate>Wed, 03 Dec 2008 17:43:48 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:141725</guid><dc:creator>Microsoft Weblogs</dc:creator><description>&lt;p&gt;The Silverlight Toolkit includes a wrap panel that allows you to add elements to it and will automatically&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=141725" width="1" height="1"&gt;</description></item><item><title>The Wrap Panel</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#141711</link><pubDate>Wed, 03 Dec 2008 17:22:40 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:141711</guid><dc:creator>Jesse Liberty - Silverlight Geek</dc:creator><description>&lt;p&gt;The Silverlight Toolkit includes a wrap panel that allows you to add elements to it and will automatically&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=141711" width="1" height="1"&gt;</description></item><item><title>re: Obtaining and Caching a Lot of Words</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#130691</link><pubDate>Fri, 14 Nov 2008 00:51:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:130691</guid><dc:creator>dgearey</dc:creator><description>&lt;p&gt;I wonder if you could throw a little sample code my way to help me with the following scenario.&lt;/p&gt;
&lt;p&gt;I have an auto-complete control for searching hierachical data in a treeview. I want the search to be context aware. &amp;nbsp;If a particular category has been selected then I want the entries in that category to appear first.&lt;/p&gt;
&lt;p&gt;In the above scenario I need my treeview to be filled dynamically because there are more than 7000 total items (which is manageable if I dynamically create/delete sub-items during expand/collapse.) I retreive datasets with WCF service calls. &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Most of all I'm hoping for c# code behind examples because xaml, as powerful as it is, can't be stepped through and gets so messy after blend gets it's hands on it. I shiver when I see so many functional relationships defined in a super powered markup language.&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated! &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks, Donald&lt;/p&gt;
&lt;p&gt;p.s. I agree isolated storage has good uses but I prefer not to use it unless I can be sure I won't end up leaving garbage behind on people's not-so-isolated storage. &amp;nbsp;Is there any &amp;quot;delete on exit&amp;quot; functionality I can use?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=130691" width="1" height="1"&gt;</description></item><item><title>re: Obtaining and Caching a Lot of Words</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#129307</link><pubDate>Wed, 12 Nov 2008 01:06:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:129307</guid><dc:creator>obsid</dc:creator><description>&lt;p&gt;By the way, I find alot of times when I think isolated storage is the answer, there is another way in that we can use the browser cache. &amp;nbsp;This only works till they clear the browser cache clearly (but when they want to do that, shouldnt you be clearing your stuff too?). &amp;nbsp;For instance if your getting the words from a URI hosted on your site, it would be a bad idea to use isolated storage, as they browser handles caching that for next time anyway (as long as your list is presorted on the website). &lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=129307" width="1" height="1"&gt;</description></item><item><title>&amp;raquo; Silverlight Cream for November 11, 2008 &amp;#8212; #424</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#129088</link><pubDate>Tue, 11 Nov 2008 18:29:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:129088</guid><dc:creator>» Silverlight Cream for November 11, 2008 — #424</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;&amp;amp;raquo; Silverlight Cream for November 11, 2008 &amp;amp;#8212; #424&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=129088" width="1" height="1"&gt;</description></item><item><title>Silverlight Cream for November 11, 2008 -- #424</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#129047</link><pubDate>Tue, 11 Nov 2008 17:25:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:129047</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;In this issue: Ian Griffiths, Matthew Casperson, Chris Anderson, IDV Solutions, Nikhil Kothari, Dave&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=129047" width="1" height="1"&gt;</description></item><item><title>Dew Drop - November 11, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#128850</link><pubDate>Tue, 11 Nov 2008 13:44:13 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:128850</guid><dc:creator>Dew Drop - November 11, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop - November 11, 2008 | Alvin Ashcraft's Morning Dew&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=128850" width="1" height="1"&gt;</description></item><item><title>2008 November 11 - Links for today &amp;laquo; My (almost) Daily Links</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#128672</link><pubDate>Tue, 11 Nov 2008 08:41:07 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:128672</guid><dc:creator>2008 November 11 - Links for today « My (almost) Daily Links</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;2008 November 11 - Links for today &amp;amp;laquo; My (almost) Daily Links&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=128672" width="1" height="1"&gt;</description></item><item><title>Silverlight News for November 11, 2008</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#128640</link><pubDate>Tue, 11 Nov 2008 07:53:54 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:128640</guid><dc:creator>Silverlight News for November 11, 2008</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight News for November 11, 2008&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=128640" width="1" height="1"&gt;</description></item><item><title>re: Obtaining and Caching a Lot of Words</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#128536</link><pubDate>Tue, 11 Nov 2008 04:54:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:128536</guid><dc:creator>unruledboy2</dc:creator><description>&lt;p&gt;is the default(initial) size of Isolated Storage in 2.0 RTM still 1.0M or changed to 100K(0.1M)?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=128536" width="1" height="1"&gt;</description></item><item><title>re: Obtaining and Caching a Lot of Words</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#128431</link><pubDate>Tue, 11 Nov 2008 02:07:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:128431</guid><dc:creator>jesseliberty</dc:creator><description>&lt;p&gt;I will post this project when I get back from DevConnections, and while I'm at it, I'll post one that stashes the words in isolated storage and compares the performance. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;It's tempting to set the minimum number of letters to 3 (or more) and then do the search -- or otherwise try to optimize (pare down) the set of words, but I can't believe that the user experience would be tolerable. &amp;nbsp;It would be interesting though to try this not with a few thousand words but with a few hundred thousand. I'll try that as well.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=128431" width="1" height="1"&gt;</description></item><item><title>AutoCompleteBox: Caching von W??rtern</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#128286</link><pubDate>Mon, 10 Nov 2008 20:43:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:128286</guid><dc:creator>AutoCompleteBox: Caching von W??rtern</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;AutoCompleteBox: Caching von W??rtern&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=128286" width="1" height="1"&gt;</description></item><item><title>re: Obtaining and Caching a Lot of Words</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/11/10/obtaining-and-caching-a-lot-of-words.aspx#128029</link><pubDate>Mon, 10 Nov 2008 14:04:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:128029</guid><dc:creator>party42</dc:creator><description>&lt;p&gt;Got a url to download the project? How does the autocomplete scale though? Is it still fast when using 10,000 words? Or how would you recommend doing a google like suggest algorithm (&lt;a rel="nofollow" target="_new" href="http://www.google.com/webhp?complete=1&amp;amp;hl=en"&gt;www.google.com/webhp&lt;/a&gt;) where the list of results is context sensitive?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=128029" width="1" height="1"&gt;</description></item></channel></rss>