Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.31 KB

README.md

File metadata and controls

59 lines (47 loc) · 1.31 KB

.NET StackExchange.Redis

  • Library: StackExchange.Redis
  • Library version : 2.2.4.
  • Runtime Version: .Net Core 3.1.201
  • RS version: 6.0.8-32
  • OSS Redis: 6.0.6
Simple Sentinel Cluster
Y Y Y
TLS Y Y Y
  • N/A : Not Available
  • N/C : Not researched or checked

Comments/Gotchas

Major OSS .Net library

  • Simple and Cluster client are same
  • Does not support blocking operation and wait commands

Prerequisite

Install .Net Core

Setup

Run

Password is optional for all samples

Simple/Cluster

cd simple

dotnet build
dotnet run host port password

Sentinel

cd sentinel

dotnet build
dotnet run sentinelhost sentinelport service password

Simple/Cluster TLS

Change the location of PFX file and password in code. For oneway TLS comment out the certificate line

cd simpletls

dotnet build
dotnet run host port password

Sentinel TLS

Change the location of PFX file and password in code. For oneway TLS comment out the certificate line. Note for Discovery service the sample also uses TLS

cd sentineltls

dotnet build
dotnet run sentinelhost sentinelport service password