func-redis
0.1.0-rc0002
See the version list below for details.
dotnet add package func-redis --version 0.1.0-rc0002
NuGet\Install-Package func-redis -Version 0.1.0-rc0002
<PackageReference Include="func-redis" Version="0.1.0-rc0002" />
paket add func-redis --version 0.1.0-rc0002
#r "nuget: func-redis, 0.1.0-rc0002"
// Install func-redis as a Cake Addin #addin nuget:?package=func-redis&version=0.1.0-rc0002&prerelease // Install func-redis as a Cake Tool #tool nuget:?package=func-redis&version=0.1.0-rc0002&prerelease
This documentation is in line with the active development, hence should be considered work in progress. To check the documentation for the latest stable version please visit https://fabiolune.github.io/func-redis/
Functional Redis
This repo contains components aimed to simplify the adoption of Redis in dotnet
using a Functional Programming first approach (thanks to Franco Melandri's tiny-fp).
The library includes functionalities to work with:
- keys management (get, set, del) using
IRedisKeyService
- hash sets using
IRedisHashSetService
- pub/sub using
IRedisPublisherService
andIRedisSubscriber
To register the required components use:
...
services
.AddRedis<TypeOfRedisSerDes>(capabilities)
...
where capabilities
is a bitwise combination of RedisCapabilities:
RedisCapabilities.Keys
enables keys managementRedisCapabilities.HashSet
enables hash sets managementRedisCapabilities.Publisher
enables publish managementRedisCapabilities.Subscriber
enables subscribe management (theAddRedis
service collection extensions requires an array of assemblies to enable scanning ofIRedisSubscriber
implementations).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- SpanJson (>= 4.2.1)
- StackExchange.Redis (>= 2.8.16)
- System.Interactive.Async (>= 6.0.1)
- tiny-fp (>= 2.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on func-redis:
Package | Downloads |
---|---|
func-redis-extensions
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0-rc0006 | 31 | 11/27/2024 |
0.1.0-rc0005 | 39 | 11/15/2024 |
0.1.0-rc0004 | 44 | 11/12/2024 |
0.1.0-rc0003 | 41 | 11/8/2024 |
0.1.0-rc0002 | 36 | 11/7/2024 |