FarNet.Redis
0.0.1
Prefix Reserved
See the version list below for details.
dotnet add package FarNet.Redis --version 0.0.1
NuGet\Install-Package FarNet.Redis -Version 0.0.1
<PackageReference Include="FarNet.Redis" Version="0.0.1" />
paket add FarNet.Redis --version 0.0.1
#r "nuget: FarNet.Redis, 0.0.1"
// Install FarNet.Redis as a Cake Addin #addin nuget:?package=FarNet.Redis&version=0.0.1 // Install FarNet.Redis as a Cake Tool #tool nuget:?package=FarNet.Redis&version=0.0.1
FarNet.Redis
StackExchange.Redis PowerShell module and FarNet library
Packages:
- PowerShell 7.4.1 module, PSGallery FarNet.Redis
- FarNet library, NuGet FarNet.Redis
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
The PowerShell module files.
FarNet.Redis.ini
The configuration for F# scripts (
FarNet.FSharpFar
).
The PowerShell module may be imported as:
Import-Module $env:FARHOME\FarNet\Lib\FarNet.Redis
Consider exposing this module, so that you can:
Import-Module FarNet.Redis
Expose the module as a symbolic link or junction
(1) Choose one of the module directories, see $env:PSModulePath
.
(2) Change to the selected directory and create the symbolic link
New-Item -Path 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.
Sample code
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
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.0 | 74 | 11/14/2024 |
0.13.0 | 68 | 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 | 79 | 10/15/2024 |
0.8.0 | 102 | 10/13/2024 |
0.7.11 | 86 | 10/5/2024 |
0.7.10 | 138 | 8/27/2024 |
0.7.9 | 125 | 6/27/2024 |
0.7.8 | 102 | 6/24/2024 |
0.7.7 | 120 | 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 | 96 | 5/2/2024 |
0.7.2 | 115 | 4/29/2024 |
0.7.1 | 107 | 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 |