【问题标题】:How to Read and Write to Amazon ElasticCache using ASP.NET如何使用 ASP.NET 读写 Amazon Elasticache
【发布时间】:2012-10-02 03:41:36
【问题描述】:

我很想知道哪些命令允许我使用 ASP.NET 开发工具包向 Amazon ElasticCache 写入和读取数据。我查看了在线文档,但无法弄清楚它是如何完成的。

我在代码中做了什么:我在 web.config 中创建了密钥来存储 Id 和访问密码。

AmazonElastiCacheClient client = new AmazonElastiCacheClient(ElasticCache_Id, ElasticCache_Pass);

初始化 AmazonElasticCacheClient 对象并传递凭证字符串。

我需要一个示例代码来演示如何放置数据以及如何从 ElasticCache 集群中检索数据。谢谢。

【问题讨论】:

  • 如果你有解决方案,你能分享一下这个想法吗?

标签: asp.net amazon-web-services amazon-elasticache


【解决方案1】:

看来您只能通过 AWS SDK 管理 elasticcache 集群。

您可以使用任何 memcached 客户端对 elasticcache 进行读写,因为这是底层技术。

这是一个例子: http://geekswithblogs.net/shaunxu/archive/2010/04/07/first-round-playing-with-memcached.aspx

【讨论】:

    猜你喜欢
    • 2014-08-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-02-24
    • 2013-01-10
    • 2021-11-25
    • 2016-07-13
    相关资源
    最近更新 更多