Amazon ElastiCache Cluster Configuration is an enhanced .NET library that supports connecting to an Amazon ElastiCache cluster for Auto Discovery. This client library is an extension built upon Enyim and is released under the Apache 2.0 License.
Because of the changing for EnyimMemcachedCore interfaces, we have to pass the ILoggerFactory instance additionally.
You should use DependencyInjection with WebHost or GenericHost.
ILoggerFactory loggerFactory = ...;
var client = new MemcachedClient(loggerFactory, new ElastiCacheClusterConfig(loggerFactory, "hostname", 11211));
Unlike the original version of ElastiCacheClusterConfig, this branch has no implicit loading configuration feature.
If you want to set configuration, you should set up ClusterConfigSettings
manually.
I recommend you to check out the list below:
- Original Repository
- EnyimMemcachedCore Using this library inside.
You'll need .NET Core 2.2 or later to use the precompiled binaries. To build the client, you'll need .NET Core SDK 2.2.100 or higher.