Redis.Net
1.0.0-alpha
See the version list below for details.
dotnet add package Redis.Net --version 1.0.0-alpha
NuGet\Install-Package Redis.Net -Version 1.0.0-alpha
<PackageReference Include="Redis.Net" Version="1.0.0-alpha" />
paket add Redis.Net --version 1.0.0-alpha
#r "nuget: Redis.Net, 1.0.0-alpha"
// Install Redis.Net as a Cake Addin #addin nuget:?package=Redis.Net&version=1.0.0-alpha&prerelease // Install Redis.Net as a Cake Tool #tool nuget:?package=Redis.Net&version=1.0.0-alpha&prerelease
Redis.Net A Redis Collection/Set Wapper
C# Wapper Redis Collection and Hashset
概述
项目依赖 StackExchange.Redis 提供基础 Api,经过简单的封装方便使用.
容器 分为 只读容器和可写容器,比如 ReadonlyRedisSet/RedisSet.
Redis 容器
数值类型为 ReidsValue
泛型容器
- RedisSet<T>
- RedisHashSet<T>
- RedisSortedSet<T>
- ReadonlyEntrySet<TEntry> / RedisEntrySet<TEntry>
分组容器管理
支持的类型
基本类型
泛型容器中支持的基本类型和 Redis 支持的数据类型一致. 转换方法 参考 RedisValue 转换方法,要求 基本类型需要支持 IConverable 接口.
实体对象类型
RedisEntrySet 是一种组合类型,通过 Redis Hashset 存储属性键/值对 (KeyValuePair)
实现的接口
ReadOnlyRedisSet<TValue> : IReadOnlyCollection<TValue>
ReadOnlyRedisHashSet<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- StackExchange.Redis (>= 2.0.601)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Redis.Net:
Package | Downloads |
---|---|
Redis.Net.Serializer.NewtonsoftJson
Redis Collections Warpper for .NetCore |
|
Redis.Net.Serializer.MsgPack
Redis Collections Warpper for .NetCore |
|
Redis.Net.Serializer.Json
Redis Collections Warpper for .NetCore |
GitHub repositories
This package is not used by any popular GitHub repositories.