0
一天的美好时光!Enyim Memcached探索.Net MVC 3
我已经赢得2008 R2服务器与.net mvc项目和其他安装了memchaed的Ubuntu Linux。
我有Eniym Memcached连接器到memcached。
但是当我尝试运行任何memcached的查询,我得到:
An error occurred creating the configuration section handler for enyim.com/memcached: Could not load type 'e.Caching.Configuration.MemcachedClientSection' from assembly 'Enyim.Caching'.
Enyim的web.config部分:
<configSections>
<sectionGroup name="enyim.com">
<section name="memcached" type="e.Caching.Configuration.MemcachedClientSection, Enyim.Caching" />
</sectionGroup>
</configSections>
<enyim.com>
<memcached>
<servers>
<add address="10.10.10.10(not real ip, connect to other server)" port="11222" />
</servers>
<socketPool deadTimeout="00:00:10" />
</memcached>
</enyim.com>
控制器动作:
using Enyim.Caching;
using Enyim.Caching.Memcached;
public string About()
{
MemcachedClient memCache = new MemcachedClient();
memCache.Store(StoreMode.Set, "testkey", "testcontent");
return "some string";
}
在哪里可以是问题?