Installing the ElastiCache cluster client for .NET
You can find the ElastiCache .NET Cluster Client code as open source at https://github.com/awslabs/elasticache-cluster-config-net
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 Automatically identify nodes in your cluster (Memcached). For sample .NET code to use the client, see Using the ElastiCache Cluster Client for .NET.
Topics
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
http://www.microsoft.com/net
Download the ElastiCache .NET cluster client for ElastiCache
To download the ElastiCache .NET cluster client
-
Sign in to the Amazon Web Services Management Console and open the ElastiCache console at https://console.amazonaws.cn/elasticache/
. -
On the navigation pane, click ElastiCache Cluster Client.
-
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 https://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c
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
-
From the Tools menu, select Library Package Manager.
-
Click Package Manager Console.
To use NuGet from Solution Explorer in Visual Studio 2012 or Visual Studio 2013
-
From the Tools menu, select NuGet Package Manager.
-
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 http://www.nuget.org
For more information on Package Manager Console commands, see http://nuget.codeplex.com/wikipage?title=Package%20Manager%20Console%20Command%20Reference%20%28v1.3%29