Skip to content

Commit db8de01

Browse files
author
Jeff Treuting
committed
Updated memcached web.config.transform
Added a new default memcached section to use instead so that it doesn't overwrite any that the user already has, then they can alter it as needed to use that one or their existing one.
1 parent 60e009b commit db8de01

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
<configuration>
2-
2+
<configSections>
3+
<section name="memcachedSharpRepository" type="Enyim.Caching.Configuration.MemcachedClientSection, Enyim.Caching" />
4+
</configSections>
35
<sharpRepository>
46
<cachingProviders>
5-
<cachingProvider name="memCachedProvider" sectionName="memcached" factory="SharpRepository.Caching.Memcached.MemCachedConfigCachingProviderFactory, SharpRepository.Caching.Memcached" />
7+
<cachingProvider name="memCachedProvider" sectionName="memcachedSharpRepository" factory="SharpRepository.Caching.Memcached.MemCachedConfigCachingProviderFactory, SharpRepository.Caching.Memcached" />
68
</cachingProviders>
79
</sharpRepository>
8-
10+
<memcachedSharpRepository>
11+
<servers>
12+
<add address="127.0.0.1" port="11211" />
13+
</servers>
14+
</memcachedSharpRepository>
915
</configuration>

0 commit comments

Comments
 (0)