<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>Microsoft Project Code Name "Velocity" - Samples</title><link>http://code.msdn.microsoft.com/velocity/Project/ProjectRss.aspx</link><description>Microsoft Project Code Name &amp;#34;Velocity&amp;#34; - Samples</description><item><title>NEW POST: Velocity Capacity</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=2049</link><description>&lt;div class="wikidoc"&gt;
I have a project that requires a very large hashtable be kept in memory. Currently it is in Java and quickly consumes 2GB of RAM and will grow linearly over time as items are added. Has any benchmarking for capacity been done? Does the cache page to disk using an LRU algorithm?&lt;br /&gt; &lt;br /&gt;My alternative is to use the Object Store with it's feed forward cache which will work nicely but is not free (and I have not deployed an app on it in many years).&lt;br /&gt; &lt;br /&gt;I have been using the ikvm VM for the java stuff and it performs very well thus I can integrate the RMI server with the cache in the VM if I must.&lt;br /&gt; &lt;br /&gt;I apologize in advance for not reading all the documentation but I work 80+ hours per week and triage my time as required.&lt;br /&gt; &lt;br /&gt;Once more dear friends into the bleeding edge I go ...&lt;br /&gt;
&lt;/div&gt;</description><author>gsgiles</author><pubDate>Sun, 19 Jul 2009 14:58:36 GMT</pubDate><guid isPermaLink="false">NEW POST: Velocity Capacity 20090719P</guid></item><item><title>NEW POST: CTP3 crashes when system time is changed !!!</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1998</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt; &lt;br /&gt;It's me again !!!&lt;br /&gt; &lt;br /&gt;We are also facing another problem !!!&lt;br /&gt; &lt;br /&gt;We are coding for a failsafe mecahnism. So, If the caching service is unavailable we will ignore it. Now I am using Put method with a Timeout of 1 second. To test this I had stopped the entire cluster. To my suprise the put method takes way to long than a 1 second before giving the &amp;quot;No alive servers found&amp;quot; exception. I tried to give the timeout of 100 milliseconds, still the same result.&lt;br /&gt; &lt;br /&gt;Help ? Am I doing something wrong ?&lt;br /&gt; &lt;br /&gt;Thanks in advance.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>mrunalbuch</author><pubDate>Wed, 08 Jul 2009 13:04:43 GMT</pubDate><guid isPermaLink="false">NEW POST: CTP3 crashes when system time is changed !!! 20090708P</guid></item><item><title>NEW POST: CTP3 crashes when system time is changed !!!</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1998</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt; &lt;br /&gt;In one of our projects, we are evalulating CTP3. &lt;br /&gt; &lt;br /&gt;We had noted that when we update the system time, the DistributedService crashes. I don't know whether anyone else is facing this issue. Any help will be appriciated. It is so painful. Once the service crashes there is no other alternative other than re-installing the CTP3.&lt;br /&gt; &lt;br /&gt;Our QA guys needs to constantly modify the system date/time to check some of the schedule functionality that is core to our system.&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt; &lt;br /&gt;Mrunal Buch&lt;br /&gt;
&lt;/div&gt;</description><author>mrunalbuch</author><pubDate>Wed, 08 Jul 2009 10:36:25 GMT</pubDate><guid isPermaLink="false">NEW POST: CTP3 crashes when system time is changed !!! 20090708A</guid></item><item><title>NEW POST: How to wipe all the information in the cache?</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1972</link><description>&lt;div class="wikidoc"&gt;
I need to remove all the information contained in the cache at some point, let's say the information is corrupted.&lt;br /&gt; &lt;br /&gt;I can't find a way to do this, just like if it has been restarted, but just with code.&lt;br /&gt; &lt;br /&gt;I've tried to use one &amp;quot;Region&amp;quot; and then remove the entire Region, but regions are stored on just one host, and loose the clustering and high availability features, so it's not an option.&lt;br /&gt; &lt;br /&gt;Any hint? i really would like Microsoft Velocity developers to be a bit more active in the forums, because there's a lack of responses. We are using Velocity in a biometric recognition software (yes, we know it's still a CTP).&lt;br /&gt;
&lt;/div&gt;</description><author>chemasarachaga</author><pubDate>Wed, 01 Jul 2009 17:17:47 GMT</pubDate><guid isPermaLink="false">NEW POST: How to wipe all the information in the cache? 20090701P</guid></item><item><title>NEW POST: Cache admitistration is not working if some hosts are down</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1122</link><description>&lt;div class="wikidoc"&gt;
I have the same issue.&lt;br /&gt; &lt;br /&gt;What i do is to manage each host separately:&lt;br /&gt; &lt;br /&gt;start-cachehost principalhost 22233&lt;br /&gt;start-cachehost secondaryhost 22233&lt;br /&gt; &lt;br /&gt;and the same with stop-cachehost...&lt;br /&gt; &lt;br /&gt;but would like how to evectively remove a host from the cluster.&lt;br /&gt;
&lt;/div&gt;</description><author>chemasarachaga</author><pubDate>Wed, 01 Jul 2009 17:07:37 GMT</pubDate><guid isPermaLink="false">NEW POST: Cache admitistration is not working if some hosts are down 20090701P</guid></item><item><title>CREATED RELEASE: Velocity Samples CTP3 (Jun 05, 2009)</title><link>http://code.msdn.microsoft.com/velocity/Release/ProjectReleases.aspx?ReleaseId=2794</link><description></description><author></author><pubDate>Fri, 05 Jun 2009 13:43:23 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Velocity Samples CTP3 (Jun 05, 2009) 20090605P</guid></item><item><title>NEW POST: CTP3 Samples</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1765</link><description>&lt;div class="wikidoc"&gt;
yes, rampo, i have been waiting for the sample source code since day CTP 3 released, until today i still cannot get any code for this, sad :-(&lt;br /&gt;
&lt;/div&gt;</description><author>ianyian</author><pubDate>Fri, 22 May 2009 01:31:07 GMT</pubDate><guid isPermaLink="false">NEW POST: CTP3 Samples 20090522A</guid></item><item><title>NEW POST: CTP3 Samples</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1765</link><description>&lt;div class="wikidoc"&gt;
Where can i download samples for CTP3 ?&lt;br /&gt;
&lt;/div&gt;</description><author>rampo</author><pubDate>Thu, 21 May 2009 23:18:02 GMT</pubDate><guid isPermaLink="false">NEW POST: CTP3 Samples 20090521P</guid></item><item><title>NEW POST: CacheLibrary.DLL is not in CTP3 (Trying CTP2 Samples)</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1678</link><description>&lt;div class="wikidoc"&gt;
I have downloaded the CTP2 samples (in absence of any other). &lt;br /&gt;In the SampleTest project there is a requirement to add a reference to CacheLibrary.DLL which did not come with the CTP3.&lt;br /&gt;As a result the sample project would not compile. &lt;br /&gt;What needs to be done to resolve?&lt;br /&gt;
&lt;/div&gt;</description><author>ArthurZ</author><pubDate>Tue, 05 May 2009 20:42:37 GMT</pubDate><guid isPermaLink="false">NEW POST: CacheLibrary.DLL is not in CTP3 (Trying CTP2 Samples) 20090505P</guid></item><item><title>NEW POST: Where's The NorthwindDemo</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1543</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt;Can someone provide the Northwind Demo that is shown in all the PDC videos over and over again?&lt;br /&gt; &lt;br /&gt;Thanks.&lt;br /&gt;Amit Chugh&lt;br /&gt;
&lt;/div&gt;</description><author>achugh00</author><pubDate>Thu, 09 Apr 2009 12:43:28 GMT</pubDate><guid isPermaLink="false">NEW POST: Where's The NorthwindDemo 20090409P</guid></item><item><title>NEW POST: Velocity, LINQ and Full-Text Search</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1287</link><description>&lt;div class="wikidoc"&gt;
I have researched NCache and there are a few things that they do not provide that I really want in Velocity (because I don't want to pay for them :).&lt;br /&gt; &lt;br /&gt;1.) Cache integration with SQL Server 2008 iFTS (Integrated Full-Text Search)&lt;br /&gt;2.) LINQ integration, including the iFTS grammar.&lt;br /&gt;3.) Automatic synchronization with the database (data and iFTS index)&lt;br /&gt; &lt;br /&gt;It would be very nice if Velocity integrated directly with iFTS in SQL Server 2008 to cache the index. Then it would be great if we could use a LINQ grammar with support for inflection, the thesaurus, etc. I would want this LINQ grammar to be as close as possible to the grammar for iFTS. That would make it easier to switch between the cache and the database when necessary. This could alleviate the locking issues that iFTS has been blamed for on multiple newsgroups. For large sites, we need full-text search and caching. Please marry them together.&lt;br /&gt; &lt;br /&gt;Note: NCache provides a query language, but it gets evaluated at runtime risking a runtime error - yuck! It also has no concept of full-text search, just basic indexing.&lt;br /&gt; &lt;br /&gt;Finally, I don't want to write the plumbing code to sync my cache with my database. I just want an ORM layer (Entity Framework?) that automatically syncs with the database. When I insert/update/delete an object in the cache, I want it to insert/update/delete the records(s) from the database in a transaction with the cache. That way I know they are in sync.&lt;br /&gt; &lt;br /&gt;And yes, I do want to cache the entire database (at least the active records). Laugh at me now and I'll laugh at you in 10 years when you're still trying to get your web site off the ground and RAM is affordable in the terabytes.&lt;br /&gt;
&lt;/div&gt;</description><author>dotnetkb</author><pubDate>Sat, 07 Feb 2009 17:13:20 GMT</pubDate><guid isPermaLink="false">NEW POST: Velocity, LINQ and Full-Text Search 20090207P</guid></item><item><title>NEW POST: Cache admitistration is not working if some hosts are down</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=1122</link><description>&lt;div class="wikidoc"&gt;
Hi, guys!&lt;br /&gt; &lt;br /&gt;PowerShell cache administration tools are not working if some hosts in cluster are down.&lt;br /&gt; &lt;br /&gt;I have cluster of 3 hosts, 2 of them are down, only lead host is up.&lt;br /&gt; &lt;br /&gt;Here is list of errors:&lt;br /&gt; &lt;br /&gt;PS &amp;gt; &lt;b&gt;restart-CacheCluster&lt;/b&gt;&lt;br /&gt;Restart-CacheCluster : Cannot open Service Control Manager on computer 'SecondaryCachehost1'. This operation might require other privil&lt;br /&gt;eges.&lt;br /&gt;At line:1 char:20&lt;br /&gt;+ restart-CacheCluster &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt; &lt;br /&gt;PS &amp;gt; &lt;b&gt;Get-CacheHost&lt;/b&gt;&lt;br /&gt;Get-CacheHost : Cannot open Service Control Manager on computer 'EPKW070'. This operation might require other privileges.&lt;br /&gt;At line:1 char:14&lt;br /&gt;+ Get-CacheHost  &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;How can I temporarily disable unavailable hosts in cluster to get it working ?&lt;br /&gt;
&lt;/div&gt;</description><author>shatl</author><pubDate>Sun, 28 Dec 2008 16:20:03 GMT</pubDate><guid isPermaLink="false">NEW POST: Cache admitistration is not working if some hosts are down 20081228P</guid></item><item><title>NEW POST: Where is the Quickstart tutorial?</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=887</link><description>&lt;div class="wikidoc"&gt;
I agree, but you can find some samples here:&lt;br /&gt;&lt;a href="http://code.msdn.microsoft.com/velocity/Release/ProjectReleases.aspx?ReleaseId=1708" class="externalLink"&gt;http://code.msdn.microsoft.com/velocity/Release/ProjectReleases.aspx?ReleaseId=1708&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;But thats about how much i have figured out....&lt;br /&gt;
&lt;/div&gt;</description><author>Tiru</author><pubDate>Tue, 25 Nov 2008 00:15:08 GMT</pubDate><guid isPermaLink="false">NEW POST: Where is the Quickstart tutorial? 20081125A</guid></item><item><title>NEW POST: Sample Test App Exception</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=917</link><description>&lt;div class="wikidoc"&gt;
Seems the domain issue was the root of the problem (I thin).&lt;br /&gt; &lt;br /&gt;I created a Dev VM in the same domain as the velocity server and the samples work like a charm now.&lt;br /&gt; &lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;wbhm wrote:&lt;br /&gt;Velocity Configuration - Two 'Velocity' Servers, One File Server, all in Fabrikam Domain.  &lt;br /&gt;Both VelocityServers have firewall exceptions and DistributedCache.exe permissions as documented (allow 'Everyone' 'Full Control')&lt;br /&gt;ClusterNetworkShare configured to allow everyone 'Full Control'&lt;br /&gt;Dev workstation (not in Fabrikam Domain) hosting these three VM's and VS2008.  &lt;br /&gt;Sample app throws exception when trying to create Region 'myRegion' (The request timed out).&lt;br /&gt;Stepping thru code shows myDefaultCache.DefaultCache == null - (Call to GetCache(&amp;quot;default&amp;quot;) fails?)&lt;br /&gt; &lt;br /&gt;Do samples require running/dev on a velocity server?  &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>wbhm</author><pubDate>Tue, 11 Nov 2008 17:43:21 GMT</pubDate><guid isPermaLink="false">NEW POST: Sample Test App Exception 20081111P</guid></item><item><title>NEW POST: Sample Test App Exception</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=917</link><description>&lt;div class="wikidoc"&gt;
Anyone there?&lt;br /&gt;
&lt;/div&gt;</description><author>wbhm</author><pubDate>Tue, 11 Nov 2008 17:42:40 GMT</pubDate><guid isPermaLink="false">NEW POST: Sample Test App Exception 20081111P</guid></item><item><title>NEW POST: Sample Test App Exception</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=917</link><description>&lt;div class="wikidoc"&gt;
Velocity Configuration - Two 'Velocity' Servers, One File Server, all in Fabrikam Domain.  &lt;br /&gt;Both VelocityServers have firewall exceptions and DistributedCache.exe permissions as documented (allow 'Everyone' 'Full Control')&lt;br /&gt;ClusterNetworkShare configured to allow everyone 'Full Control'&lt;br /&gt;Dev workstation (not in Fabrikam Domain) hosting these three VM's and VS2008.  &lt;br /&gt;Sample app throws exception when trying to create Region 'myRegion' (The request timed out).&lt;br /&gt;Stepping thru code shows myDefaultCache.DefaultCache == null - (Call to GetCache(&amp;quot;default&amp;quot;) fails?)&lt;br /&gt; &lt;br /&gt;Do samples require running/dev on a velocity server?  &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>wbhm</author><pubDate>Mon, 10 Nov 2008 23:40:55 GMT</pubDate><guid isPermaLink="false">NEW POST: Sample Test App Exception 20081110P</guid></item><item><title>NEW POST: Where is the Quickstart tutorial?</title><link>http://code.msdn.microsoft.com/velocity/Thread/View.aspx?ThreadId=887</link><description>&lt;div class="wikidoc"&gt;
I may have missed it, but I can't seem to find out where it is located. I would like to go throught the tutorial.&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt; &lt;br /&gt;-HS&lt;br /&gt;
&lt;/div&gt;</description><author>HedleySohn</author><pubDate>Tue, 04 Nov 2008 00:45:46 GMT</pubDate><guid isPermaLink="false">NEW POST: Where is the Quickstart tutorial? 20081104A</guid></item><item><title>CREATED RELEASE: Velocity Samples CTP2 (Oct 28, 2008)</title><link>http://code.msdn.microsoft.com/velocity/Release/ProjectReleases.aspx?ReleaseId=1708</link><description></description><author></author><pubDate>Tue, 28 Oct 2008 23:38:43 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Velocity Samples CTP2 (Oct 28, 2008) 20081028P</guid></item><item><title>UPDATED RELEASE: Project 'Velocity' CTP1 Samples (Jun 02, 2008)</title><link>http://code.msdn.microsoft.com/velocity/Release/ProjectReleases.aspx?ReleaseId=1120</link><description></description><author></author><pubDate>Tue, 03 Jun 2008 06:13:57 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Project 'Velocity' CTP1 Samples (Jun 02, 2008) 20080603A</guid></item><item><title>RELEASED: Project 'Velocity' CTP1 Samples (Jun 02, 2008)</title><link>http://code.msdn.microsoft.com/velocity/Release/ProjectReleases.aspx?ReleaseId=1120</link><description></description><author></author><pubDate>Tue, 03 Jun 2008 06:13:57 GMT</pubDate><guid isPermaLink="false">RELEASED: Project 'Velocity' CTP1 Samples (Jun 02, 2008) 20080603A</guid></item></channel></rss>