Affects Version/s: 1.2.6
Fix Version/s: None
User gets a "The type 'Couchbase.HammockHttpClientFactory, Couchbase' cannot be resolved." when trying to use a configuration which specifies this backend.
Most relevant text from the full post (at https://groups.google.com/forum/?fromgroups=#!topic/couchbase-8091/zSsDSr3Mv54) is below:
I'm trying to test out the latest build of Couchbase (2.0.1) with the latest SDK and there are some differences with the configuration (or so it seems) and I can't get things to load or when I do I'm concerned that I haven't done it right.
My configuration looked like this:
<documentNameTransformer type="Couchbase.Configuration.DevelopmentModeNameTransformer, Couchbase" />
<httpClientFactory type="Couchbase.HammockHttpClientFactory, Couchbase" />
<servers bucket="dev-bucket" bucketPassword="">
<add uri="http://localhost:8091/pools/default" />
<socketPool minPoolSize="1" maxPoolSize="1" connectionTimeout="00:00:10" deadTimeout="00:00:10" />
With that configuration it complains about the httpClientFactory line. I have the latest Couchbase.dll in the bin folder so unclear what is wrong. I dug into the documentation and noticed that there is also an option to use <httpClientFactory type="Couchbase.RestSharpHttpClientFactory, Couchbase" />. Both options result in the following error: The value of the property 'type' cannot be parsed. The error is: The type 'Couchbase.HammockHttpClientFactory, Couchbase' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.
Also of note, if I comment out all httpClientFactory elements my application loads without any errors. What am I giving up by not having one defined?