func-redis 0.1.0-rc0002

This is a prerelease version of func-redis.
There is a newer prerelease version of this package available.
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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="func-redis" Version="0.1.0-rc0002" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add func-redis --version 0.1.0-rc0002                
#r "nuget: func-redis, 0.1.0-rc0002"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

GitHub CI Quality Gate Status codecov NuGet NuGet Mutation testing badge

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 and IRedisSubscriber

To register the required components use:

...
    services
        .AddRedis<TypeOfRedisSerDes>(capabilities)
        ...

where capabilities is a bitwise combination of RedisCapabilities:

  • RedisCapabilities.Keys enables keys management
  • RedisCapabilities.HashSet enables hash sets management
  • RedisCapabilities.Publisher enables publish management
  • RedisCapabilities.Subscriber enables subscribe management (the AddRedis service collection extensions requires an array of assemblies to enable scanning of IRedisSubscriber implementations).
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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