<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for The Inquisitive Coder - Davy Brion's Blog</title>
	
	<link>http://davybrion.com/blog</link>
	<description>Trying to walk that thin line between intelligence and ignorance</description>
	<lastBuildDate>Sun, 05 Jul 2009 19:47:05 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/davybrioncomments" type="application/rss+xml" /><item>
		<title>Comment on The Circuit Breaker by Protecting Your Application From Remote Problems | The Inquisitive Coder – Davy Brion’s Blog</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/yVYLduB6_Oo/</link>
		<dc:creator>Protecting Your Application From Remote Problems | The Inquisitive Coder – Davy Brion’s Blog</dc:creator>
		<pubDate>Sun, 05 Jul 2009 19:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=112#comment-22039</guid>
		<description>[...] other requests. One pattern which is very suitable to reduce the problems for this situation is the Circuit Breaker (read that unless you’re familiar with the circuit [...]</description>
		<content:encoded><![CDATA[<p>[...] other requests. One pattern which is very suitable to reduce the problems for this situation is the Circuit Breaker (read that unless you&#8217;re familiar with the circuit [...]</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/yVYLduB6_Oo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2008/05/the-circuit-breaker/comment-page-1/#comment-22039</feedburner:origLink></item>
	<item>
		<title>Comment on Save Some Time With The Right Testrunner by Neal Blomfield</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/02uanlCTtDo/</link>
		<dc:creator>Neal Blomfield</dc:creator>
		<pubDate>Thu, 02 Jul 2009 20:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1439#comment-21758</guid>
		<description>Having spent some time recently trying to get the xunit resharper test runner working for custom test class commands (indicated via the RunWith attribute), I can understand how R# can be a slow test runner.  If you are curious about what goes on, check out the xUnit contrib site on codeplex.</description>
		<content:encoded><![CDATA[<p>Having spent some time recently trying to get the xunit resharper test runner working for custom test class commands (indicated via the RunWith attribute), I can understand how R# can be a slow test runner.  If you are curious about what goes on, check out the xUnit contrib site on codeplex.</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/02uanlCTtDo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/07/save-some-time-with-the-right-testrunner/comment-page-1/#comment-21758</feedburner:origLink></item>
	<item>
		<title>Comment on Save Some Time With The Right Testrunner by Keivn Dan</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/Vo-58VMgCtw/</link>
		<dc:creator>Keivn Dan</dc:creator>
		<pubDate>Thu, 02 Jul 2009 19:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1439#comment-21749</guid>
		<description>Yes, I have the same experience. Resharper TestRunner would run out of memory with large testing sets, while TestDriven.Net is not. Don't get me wrong, Resharper is one of the best development tools. It's good for TDD development as well with TestRunner. But for serious unit testing running, TestDriven.Net is better.</description>
		<content:encoded><![CDATA[<p>Yes, I have the same experience. Resharper TestRunner would run out of memory with large testing sets, while TestDriven.Net is not. Don&#8217;t get me wrong, Resharper is one of the best development tools. It&#8217;s good for TDD development as well with TestRunner. But for serious unit testing running, TestDriven.Net is better.</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/Vo-58VMgCtw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/07/save-some-time-with-the-right-testrunner/comment-page-1/#comment-21749</feedburner:origLink></item>
	<item>
		<title>Comment on Managing your NHibernate Sessions by lemycanh</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/JcQ4Za9QxQM/</link>
		<dc:creator>lemycanh</dc:creator>
		<pubDate>Wed, 01 Jul 2009 17:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=149#comment-21552</guid>
		<description>I had google and google... nhibernate session management for winform, finaly, i found your article, this's a great article, thanks alot!
(sorry for my poor english :D)</description>
		<content:encoded><![CDATA[<p>I had google and google&#8230; nhibernate session management for winform, finaly, i found your article, this&#8217;s a great article, thanks alot!<br />
(sorry for my poor english <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/JcQ4Za9QxQM" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2008/06/managing-your-nhibernate-sessions/comment-page-1/#comment-21552</feedburner:origLink></item>
	<item>
		<title>Comment on Save Some Time With The Right Testrunner by Arjan’s World » LINKBLOG for July 1, 2009</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/gIvGUtvv6CI/</link>
		<dc:creator>Arjan’s World » LINKBLOG for July 1, 2009</dc:creator>
		<pubDate>Wed, 01 Jul 2009 16:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1439#comment-21544</guid>
		<description>[...] Save Some Time With The Right Testrunner - Davy Brion [...]</description>
		<content:encoded><![CDATA[<p>[...] Save Some Time With The Right Testrunner &#8211; Davy Brion [...]</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/gIvGUtvv6CI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/07/save-some-time-with-the-right-testrunner/comment-page-1/#comment-21544</feedburner:origLink></item>
	<item>
		<title>Comment on Sending NHibernate entities over the WCF wire by Gaurav</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/vxy9_g0mqq0/</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Tue, 30 Jun 2009 09:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://ralinx.wordpress.com/2008/01/03/sending-nhibernate-entities-over-the-wcf-wire/#comment-21388</guid>
		<description>Hi,

I am trying to access the WCF service having following interface and implementation:

[ServiceContract(Namespace="http://SMS.com/OPS")]
public interface IOrderProcessingService
{
    [UseNetDataContractSerializer]
    [OperationContract]
    Customer GetAnyCustomer();

    [UseNetDataContractSerializer]
    [OperationContract]
    Customer GetCustomerByName(string customerName);
}

public class OrderProcessingService : IOrderProcessingService
{
    public Customer GetAnyCustomer()
    {
       ICustomerRepository repository = new CustomerRepository();
       return repository.GetByName("Tom");
    }

    public Customer GetCustomerByName(string customerName)
    {
      	ICustomerRepository repository = new CustomerRepository();
        return repository.GetByName(customerName);
            
    }    	
}

CustomerRepository class is accessing the database using NHibernate.

Now the problem is that the method GetAnyCustomer() is working fine. But when the service client is accessing the method GetCustomerByName, the following exception is thrown, indicating that there is some problem in deserializing the given string parameter customerName. The exception details are as follows:

WorkingWithGraph.Tests.OrderProcessingServiceTest.GetCustomerByNameTest : System.ServiceModel.FaultException : The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://SMS.com/OPS:customerName. The InnerException message was 'Error in line 1 position 281. XML 'Element' 'http://SMS.com/OPS:customerName' does not contain expected attribute 'http://schemas.microsoft.com/2003/10/Serialization/:Type'. The deserializer has no knowledge of which type to deserialize. Check that the type being serialized has the same contract as the type being deserialized.'.  Please see InnerException for more details.

And what does it meant by : XML 'Element' 'http://SMS.com/OPS:customerName' does not contain expected attribute 'http://schemas.microsoft.com/2003/10/Serialization/:Type'

I have also tried encapsulating the customerName both in a DataContract and in a MessageContract and used these contracts as parameter types, but not to avail anything.

Please help me.

Thanks in advance.
Gaurav</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am trying to access the WCF service having following interface and implementation:</p>
<p>[ServiceContract(Namespace="http://SMS.com/OPS")]<br />
public interface IOrderProcessingService<br />
{<br />
    [UseNetDataContractSerializer]<br />
    [OperationContract]<br />
    Customer GetAnyCustomer();</p>
<p>    [UseNetDataContractSerializer]<br />
    [OperationContract]<br />
    Customer GetCustomerByName(string customerName);<br />
}</p>
<p>public class OrderProcessingService : IOrderProcessingService<br />
{<br />
    public Customer GetAnyCustomer()<br />
    {<br />
       ICustomerRepository repository = new CustomerRepository();<br />
       return repository.GetByName(&#8221;Tom&#8221;);<br />
    }</p>
<p>    public Customer GetCustomerByName(string customerName)<br />
    {<br />
      	ICustomerRepository repository = new CustomerRepository();<br />
        return repository.GetByName(customerName);</p>
<p>    }<br />
}</p>
<p>CustomerRepository class is accessing the database using NHibernate.</p>
<p>Now the problem is that the method GetAnyCustomer() is working fine. But when the service client is accessing the method GetCustomerByName, the following exception is thrown, indicating that there is some problem in deserializing the given string parameter customerName. The exception details are as follows:</p>
<p>WorkingWithGraph.Tests.OrderProcessingServiceTest.GetCustomerByNameTest : System.ServiceModel.FaultException : The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter <a href="http://SMS.com/OPS:customerName" rel="nofollow">http://SMS.com/OPS:customerName</a>. The InnerException message was &#8216;Error in line 1 position 281. XML &#8216;Element&#8217; &#8216;http://SMS.com/OPS:customerName&#8217; does not contain expected attribute &#8216;http://schemas.microsoft.com/2003/10/Serialization/:Type&#8217;. The deserializer has no knowledge of which type to deserialize. Check that the type being serialized has the same contract as the type being deserialized.&#8217;.  Please see InnerException for more details.</p>
<p>And what does it meant by : XML &#8216;Element&#8217; &#8216;http://SMS.com/OPS:customerName&#8217; does not contain expected attribute &#8216;http://schemas.microsoft.com/2003/10/Serialization/:Type&#8217;</p>
<p>I have also tried encapsulating the customerName both in a DataContract and in a MessageContract and used these contracts as parameter types, but not to avail anything.</p>
<p>Please help me.</p>
<p>Thanks in advance.<br />
Gaurav</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/vxy9_g0mqq0" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2008/01/sending-nhibernate-entities-over-the-wcf-wire/comment-page-1/#comment-21388</feedburner:origLink></item>
	<item>
		<title>Comment on Avoid Using NHibernate With NUnit 2.4.6 by Arjan’s World » LINKBLOG for June 25, 2009</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/E0EzcohP1dc/</link>
		<dc:creator>Arjan’s World » LINKBLOG for June 25, 2009</dc:creator>
		<pubDate>Thu, 25 Jun 2009 20:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1432#comment-20892</guid>
		<description>[...] Avoid Using NHibernate With NUnit 2.4.6 - Davy Brion ‘ We just spent about 2 hours trying to find out why our NHibernate tests were about 10x slower on our build server than they were on our local machines ‘ [...]</description>
		<content:encoded><![CDATA[<p>[...] Avoid Using NHibernate With NUnit 2.4.6 &#8211; Davy Brion &#8216; We just spent about 2 hours trying to find out why our NHibernate tests were about 10x slower on our build server than they were on our local machines &#8216; [...]</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/E0EzcohP1dc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/avoid-using-nhibernate-with-nunit-2-4-6/comment-page-1/#comment-20892</feedburner:origLink></item>
	<item>
		<title>Comment on Upgrading To NHibernate 2.1 by Frederik Gheysels</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/XAIL8ANKipQ/</link>
		<dc:creator>Frederik Gheysels</dc:creator>
		<pubDate>Thu, 25 Jun 2009 08:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-20830</guid>
		<description>Stupid me has solved the problem 8)7

(No, the problem was not related to Antlr3; the exception really said that NHibernate or one of its assemblies could not be loaded).
In my configSection, I did not specify an exact version.  I have referenced the NHibernate assembly from the GAC.  Copy local has been set to false on my reference; apparently, the CLR was not able to exactly determine which NHibernate assembly should be loaded.  So, I've solved it by setting 'Copy Local' to true on my NHibernate reference).

Anyway, interesting blog. :)</description>
		<content:encoded><![CDATA[<p>Stupid me has solved the problem 8)7</p>
<p>(No, the problem was not related to Antlr3; the exception really said that NHibernate or one of its assemblies could not be loaded).<br />
In my configSection, I did not specify an exact version.  I have referenced the NHibernate assembly from the GAC.  Copy local has been set to false on my reference; apparently, the CLR was not able to exactly determine which NHibernate assembly should be loaded.  So, I&#8217;ve solved it by setting &#8216;Copy Local&#8217; to true on my NHibernate reference).</p>
<p>Anyway, interesting blog. <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/XAIL8ANKipQ" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-20830</feedburner:origLink></item>
	<item>
		<title>Comment on Upgrading To NHibernate 2.1 by Davy Brion</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/ID4nDZkpXRw/</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Thu, 25 Jun 2009 07:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-20827</guid>
		<description>http://code.google.com/p/sharp-architecture/issues/detail?id=111#c0

is that what you're getting?</description>
		<content:encoded><![CDATA[<p><a href="http://code.google.com/p/sharp-architecture/issues/detail?id=111#c0" rel="nofollow">http://code.google.com/p/sharp-architecture/issues/detail?id=111#c0</a></p>
<p>is that what you&#8217;re getting?</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/ID4nDZkpXRw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-20827</feedburner:origLink></item>
	<item>
		<title>Comment on Upgrading To NHibernate 2.1 by Frederik Gheysels</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/mZDa_N5qehU/</link>
		<dc:creator>Frederik Gheysels</dc:creator>
		<pubDate>Thu, 25 Jun 2009 07:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-20826</guid>
		<description>Hmm, I'm trying to migrate my application to NH2.1 beta, and the first error that comes accross is that the type initializer has thrown an exception while creating the configuration-section handler for hibernate-configuration.
It cannot load the NHibernate assembly, or one of its dependencies ...  Strange, it seems that this is an error I have that is not related with the proxy-factory issue, since I've added this additional property to my Cfg file (and I've added a reference to the desired file as well ... )
(I've never received the exception that you've mentionned, the first exception that I've been given, is the 'FileNotFoundException').</description>
		<content:encoded><![CDATA[<p>Hmm, I&#8217;m trying to migrate my application to NH2.1 beta, and the first error that comes accross is that the type initializer has thrown an exception while creating the configuration-section handler for hibernate-configuration.<br />
It cannot load the NHibernate assembly, or one of its dependencies &#8230;  Strange, it seems that this is an error I have that is not related with the proxy-factory issue, since I&#8217;ve added this additional property to my Cfg file (and I&#8217;ve added a reference to the desired file as well &#8230; )<br />
(I&#8217;ve never received the exception that you&#8217;ve mentionned, the first exception that I&#8217;ve been given, is the &#8216;FileNotFoundException&#8217;).</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/mZDa_N5qehU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-20826</feedburner:origLink></item>
	<item>
		<title>Comment on Avoid Using NHibernate With NUnit 2.4.6 by Reflective Perspective - Chris Alcock » The Morning Brew #376</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/tKaje6vhwlo/</link>
		<dc:creator>Reflective Perspective - Chris Alcock » The Morning Brew #376</dc:creator>
		<pubDate>Thu, 25 Jun 2009 07:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1432#comment-20825</guid>
		<description>[...] Avoid Using NHibernate With NUnit 2.4.6 - Davy Brion highlights an interesting difference between NUnit 2.4.6 and 2.4.7 and how changing version helped shave a third off the build and test time for NHibernate [...]</description>
		<content:encoded><![CDATA[<p>[...] Avoid Using NHibernate With NUnit 2.4.6 &#8211; Davy Brion highlights an interesting difference between NUnit 2.4.6 and 2.4.7 and how changing version helped shave a third off the build and test time for NHibernate [...]</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/tKaje6vhwlo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/avoid-using-nhibernate-with-nunit-2-4-6/comment-page-1/#comment-20825</feedburner:origLink></item>
	<item>
		<title>Comment on Avoid Using NHibernate With NUnit 2.4.6 by chrissie1</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/mU4x7opsaWw/</link>
		<dc:creator>chrissie1</dc:creator>
		<pubDate>Wed, 24 Jun 2009 19:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1432#comment-20774</guid>
		<description>I'm glad to have helped a fellow Belgianer ;-).</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad to have helped a fellow Belgianer <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/mU4x7opsaWw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/avoid-using-nhibernate-with-nunit-2-4-6/comment-page-1/#comment-20774</feedburner:origLink></item>
	<item>
		<title>Comment on And We’re Back by Rei</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/s8aw7n119fE/</link>
		<dc:creator>Rei</dc:creator>
		<pubDate>Tue, 23 Jun 2009 09:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1427#comment-20648</guid>
		<description>I'm glad you enjoyed :)

Now I got to say this... Getz orfffzz mee land (the land in front of the natural pool belongs to my parents ^^ )</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you enjoyed <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now I got to say this&#8230; Getz orfffzz mee land (the land in front of the natural pool belongs to my parents ^^ )</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/s8aw7n119fE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/and-were-back/comment-page-1/#comment-20648</feedburner:origLink></item>
	<item>
		<title>Comment on Introducing TDD: How would you do it? by Blog | Rubyyot » Blog Archive » Getting a project off the ground with TDD and Cucumber</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/7fpBEWX_txM/</link>
		<dc:creator>Blog | Rubyyot » Blog Archive » Getting a project off the ground with TDD and Cucumber</dc:creator>
		<pubDate>Mon, 22 Jun 2009 05:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=360#comment-20546</guid>
		<description>[...] are a number of sources stating that TDD is about design first and automated testing is a nice by-product. In my limited experience with TDD, programming by intention is the crux of [...]</description>
		<content:encoded><![CDATA[<p>[...] are a number of sources stating that TDD is about design first and automated testing is a nice by-product. In my limited experience with TDD, programming by intention is the crux of [...]</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/7fpBEWX_txM" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2008/08/introducing-tdd-how-would-you-do-it/comment-page-1/#comment-20546</feedburner:origLink></item>
	<item>
		<title>Comment on How Can This Test Fail? by Michael Brown</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/oTjh-ctY4RQ/</link>
		<dc:creator>Michael Brown</dc:creator>
		<pubDate>Fri, 12 Jun 2009 16:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1412#comment-19291</guid>
		<description>I have a theory. You're not locking your reads and writes to the cache. And your puts are destructive without providing notice that a previous value is being overwritten. If your unit test runner runs the tests concurrently, you have a race in two places. If two calls to your put and get are interleaved the wrong way (a.Put b.Put a.Get) you'll see that error. 

Another thing is that your Cache isn't checking for semantically equal objects.</description>
		<content:encoded><![CDATA[<p>I have a theory. You&#8217;re not locking your reads and writes to the cache. And your puts are destructive without providing notice that a previous value is being overwritten. If your unit test runner runs the tests concurrently, you have a race in two places. If two calls to your put and get are interleaved the wrong way (a.Put b.Put a.Get) you&#8217;ll see that error. </p>
<p>Another thing is that your Cache isn&#8217;t checking for semantically equal objects.</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/oTjh-ctY4RQ" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/how-can-this-test-fail/comment-page-1/#comment-19291</feedburner:origLink></item>
	<item>
		<title>Comment on Time For A Much Needed Break by Rei</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/8qbhn4oQZAo/</link>
		<dc:creator>Rei</dc:creator>
		<pubDate>Wed, 10 Jun 2009 09:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1415#comment-19027</guid>
		<description>The bayahibe beach is ok. If you can take the Catamaran to Saona or Catalina (can never remember the name of the one to the left). If you drink (ie, rum what ever), take some from the hotel, the one on the Cat is crap XD or make friends with the crew guys "they got da codez" (good drinks). One last thing to try, if you like scuba the island to the right (Saona or Catalina) has some seriously impressive underwater views.

Have fun :)</description>
		<content:encoded><![CDATA[<p>The bayahibe beach is ok. If you can take the Catamaran to Saona or Catalina (can never remember the name of the one to the left). If you drink (ie, rum what ever), take some from the hotel, the one on the Cat is crap XD or make friends with the crew guys &#8220;they got da codez&#8221; (good drinks). One last thing to try, if you like scuba the island to the right (Saona or Catalina) has some seriously impressive underwater views.</p>
<p>Have fun <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/8qbhn4oQZAo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/time-for-a-much-needed-break/comment-page-1/#comment-19027</feedburner:origLink></item>
	<item>
		<title>Comment on Time For A Much Needed Break by Jack</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/lI-SSkZPeNY/</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Wed, 10 Jun 2009 05:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1415#comment-19017</guid>
		<description>oh, great!
You are one of the guy who knows how to relax!
beautiful sight!</description>
		<content:encoded><![CDATA[<p>oh, great!<br />
You are one of the guy who knows how to relax!<br />
beautiful sight!</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/lI-SSkZPeNY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/time-for-a-much-needed-break/comment-page-1/#comment-19017</feedburner:origLink></item>
	<item>
		<title>Comment on Time For A Much Needed Break by Juan Manuel</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/mnO4eqll0J8/</link>
		<dc:creator>Juan Manuel</dc:creator>
		<pubDate>Tue, 09 Jun 2009 03:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1415#comment-18922</guid>
		<description>I've been there... it's paradise!

(but you also have WiFi)

Enjoy!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been there&#8230; it&#8217;s paradise!</p>
<p>(but you also have WiFi)</p>
<p>Enjoy!</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/mnO4eqll0J8" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/time-for-a-much-needed-break/comment-page-1/#comment-18922</feedburner:origLink></item>
	<item>
		<title>Comment on Time For A Much Needed Break by Davy Brion</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/Bk2ICsoDrLU/</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Mon, 08 Jun 2009 19:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1415#comment-18891</guid>
		<description>@Rei

yeah the hotel is right at Bayahibe beach ;)</description>
		<content:encoded><![CDATA[<p>@Rei</p>
<p>yeah the hotel is right at Bayahibe beach <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/Bk2ICsoDrLU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/time-for-a-much-needed-break/comment-page-1/#comment-18891</feedburner:origLink></item>
	<item>
		<title>Comment on Time For A Much Needed Break by Lookman</title>
		<link>http://feedproxy.google.com/~r/davybrioncomments/~3/ko3IQPfXhdc/</link>
		<dc:creator>Lookman</dc:creator>
		<pubDate>Mon, 08 Jun 2009 15:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1415#comment-18880</guid>
		<description>Have Fun! and make the best of it.</description>
		<content:encoded><![CDATA[<p>Have Fun! and make the best of it.</p>
<img src="http://feeds.feedburner.com/~r/davybrioncomments/~4/ko3IQPfXhdc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://davybrion.com/blog/2009/06/time-for-a-much-needed-break/comment-page-1/#comment-18880</feedburner:origLink></item>
</channel>
</rss><!-- Dynamic page generated in 0.671 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-07-05 22:17:36 -->
