FarNet.Redis 0.1.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package FarNet.Redis --version 0.1.0                
NuGet\Install-Package FarNet.Redis -Version 0.1.0                
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="FarNet.Redis" Version="0.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FarNet.Redis --version 0.1.0                
#r "nuget: FarNet.Redis, 0.1.0"                
#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 FarNet.Redis as a Cake Addin
#addin nuget:?package=FarNet.Redis&version=0.1.0

// Install FarNet.Redis as a Cake Tool
#tool nuget:?package=FarNet.Redis&version=0.1.0                

FarNet.Redis

StackExchange.Redis PowerShell module and FarNet library

Packages:

PowerShell module

You may install the PowerShell module by this command:

Install-Module FarNet.Redis

Explore the module commands:

# import and get module commands
Import-Module -Name FarNet.Redis
Get-Command -Module FarNet.Redis

# get commands help
help Open-Redis
help Set-RedisString
help Get-RedisString
...

FarNet library

To install as the FarNet library FarNet.Redis, follow these steps.
The NuGet package is installed to %FARHOME%\FarNet\Lib\FarNet.Redis.

Included assets:

  • StackExchange.Redis.dll, FarNet.Redis.dll

    General purpose Redis client and helper assemblies.
    They are designed for using in C#, F#, PowerShell.

  • FarNet.Redis.psd1, PS.FarNet.Redis.dll

    PowerShell module files.

  • FarNet.Redis.ini

    F# scripts configuration, FarNet.FSharpFar.

The PowerShell module may be imported as:

Import-Module $env:FARHOME\FarNet\Lib\FarNet.Redis

Expose the module as a symbolic link or junction

Consider exposing this module, so that you can:

Import-Module FarNet.Redis

(1) Choose one of the module directories, see $env:PSModulePath.

(2) Change to the selected directory and create the symbolic link

New-Item FarNet.Redis -ItemType SymbolicLink -Value $env:FARHOME\FarNet\Lib\FarNet.Redis

(3) Alternatively, you may create the similar folder junction point in Far Manager using AltF6.

Then you may update the FarNet package with new versions. The symbolic link or junction do not have to be updated, they point to the same location.

Examples

See tests for all examples.

PowerShell

Import-Module FarNet.Redis
$db = Open-Redis localhost:3278
Set-RedisString test:key1 Hello
Get-RedisString test:key1

F#

open StackExchange.Redis
let db = DB.Open("localhost:3278")
db.StringSet("test:key1", "Hello")
db.StringGet("test:key1")

Garnet server

Microsoft.Garnet is the Redis like server, especially useful on Windows.

Use a simple console project like GarnetServer to run your own server.

See also

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.14.1 35 11/27/2024
0.14.0 78 11/14/2024
0.13.0 69 11/13/2024
0.12.0 82 11/1/2024
0.11.0 77 10/31/2024
0.10.4 75 10/28/2024
0.10.3 80 10/26/2024
0.10.2 89 10/24/2024
0.10.1 129 10/19/2024
0.10.0 93 10/17/2024
0.9.0 80 10/15/2024
0.8.0 103 10/13/2024
0.7.11 87 10/5/2024
0.7.10 138 8/27/2024
0.7.9 126 6/27/2024
0.7.8 102 6/24/2024
0.7.7 121 5/17/2024
0.7.6 109 5/15/2024
0.7.5 89 5/12/2024
0.7.4 107 5/9/2024
0.7.3 97 5/2/2024
0.7.2 116 4/29/2024
0.7.1 108 4/28/2024
0.7.0 111 4/26/2024
0.6.1 109 4/24/2024
0.6.0 108 4/23/2024
0.5.3 111 4/21/2024
0.5.2 113 4/20/2024
0.5.1 145 4/16/2024
0.5.0 191 4/15/2024
0.4.0 196 4/14/2024
0.3.0 189 4/13/2024
0.2.0 187 4/8/2024
0.1.0 181 4/7/2024
0.0.3 174 4/6/2024
0.0.2 200 4/6/2024
0.0.1 204 4/6/2024