Installing the ElastiCache cluster client for .NET - Amazon ElastiCache
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Installing the ElastiCache cluster client for .NET


The ElastiCache .NET cluster client has been deprecated as of May, 2022.

You can find the ElastiCache .NET Cluster Client code as open source at

This section describes how to install, update, and remove the .NET components for the ElastiCache Cluster Client on Amazon EC2 instances. For more information about auto discovery, see Auto discovery. For sample .NET code to use the client, see Auto discovery with DotNET.

Installing .NET

You must have .NET 3.5 or later installed to use the Amazon .NET SDK for ElastiCache. If you don't have .NET 3.5 or later, you can download and install the latest version from

Download the ElastiCache .NET cluster client for ElastiCache

To download the ElastiCache .NET cluster client
  1. Sign in to the Amazon Web Services Management Console and open the ElastiCache console at

  2. On the navigation pane, click ElastiCache Cluster Client.

  3. In the Download ElastiCache Memcached Cluster Client list, select .NET, and then click Download.

Install Amazon assemblies with NuGet

NuGet is a package management system for the .NET platform. NuGet is aware of assembly dependencies and installs all required files automatically. NuGet installed assemblies are stored with your solution, rather than in a central location such as Program Files, so you can install versions specific to an application without creating compatibility issues.

Installing NuGet

NuGet can be installed from the Installation Gallery on MSDN; see If you are using Visual Studio 2010 or later, NuGet is automatically installed.

You can use NuGet from either Solution Explorer or Package Manager Console.

Using NuGet from Solution Explorer

To use NuGet from Solution Explorer in Visual Studio 2010
  1. From the Tools menu, select Library Package Manager.

  2. Click Package Manager Console.

To use NuGet from Solution Explorer in Visual Studio 2012 or Visual Studio 2013
  1. From the Tools menu, select NuGet Package Manager.

  2. Click Package Manager Console.

From the command line, you can install the assemblies using Install-Package, as shown following.

Install-Package Amazon.ElastiCacheCluster

To see a page for every package that is available through NuGet, such as the AmazonSDK and Amazon.Extensions assemblies, see the NuGet website at The page for each package includes a sample command line for installing the package using the console and a list of the previous versions of the package that are available through NuGet.

For more information on Package Manager Console commands, see