We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(9)
如果您想要一个进程内、持久的键值存储(如 Berkeley Db),那么请查看属于 ManagedEsent 项目的 PersistentDictionary。持久字典看起来像普通字典,但由数据库支持。如果您从当前源构建,那么您将获得 Linq 支持,它可以让您进行查询。
If you want an in-process, persistent key-value store (like Berkeley Db) then take a look at the PersistentDictionary which is part of the ManagedEsent project. A persistent dictionary looks like a normal dictionary but is backed by a database. If you build from the current sources then you will get Linq support, which lets you do queries.
如果您指的是 NoSQL 存储,.NET 有哪些 NoSQL 解决方案? 有这些的列表。
If you mean a NoSQL store, What NoSQL solutions are out there for .NET? has a list of these.
有很多,取决于您的要求。
您可以考虑的另一个是 System.Runtime.Caching 命名空间,它已添加到.NET 4.0。
There are tons, depending on your requirements.
Another you can consider is System.Runtime.Caching namespace, which has been added to .NET 4.0.
这就是你所说的键值对的意思吗?比如 hashtable()
或
其他
。
is this what you mean by a key Value pair..like a hashtable()
or
or
etc.
如果您正在寻找本机 .NET 键值存储,请尝试 NCache。它是使用 C# 构建的。我想没有其他的了。
它提供的不仅仅是一个简单的 .net 键值存储< /a>.您可以坚持只保留其中的键和值。
If you're looking for a native .NET key value store then try NCache. Its built using C#. There are none other i think.
Its offers much more than just a simple .net key value store. You can stick to just keeping keys and values in it.
Redis 是一款出色的产品。还有令人惊叹的 C# Redis 客户端 ServiceStackRedis 也可用。它非常轻。
如果您想在 Windows 上尝试 Redis,可以在此处找到 Windows 版本
Redis is a excellent one. And there is amazing c# redis client ServiceStackRedis also available. Its very lightweight.
And if you want to try redis on windows, you can find the windows version here
FASTER - C# 和 C++ 中的快速并发持久键值存储和日志
https://microsoft.github. io/更快/
FASTER - A fast concurrent persistent key-value store and log, in C# and C++
https://microsoft.github.io/FASTER/
GetCache是在.Net 4.5中开发的一个非常简单的键值内存缓存。
服务器和客户端库可以从 Nuget 下载。
http://www.nuget.org/packages/GetCacheServer/
http://www.nuget.org/packages/GetCacheClient/
GetCache is a very simple key-value in-memory cache developed in .Net 4.5.
Server and client library can be downloaded fron Nuget.
http://www.nuget.org/packages/GetCacheServer/
http://www.nuget.org/packages/GetCacheClient/