StackExchange.Redis Introduction

레디스 개발자 교육 신청 레디스 정기점검/기술지원
Redis Technical Support
레디스 엔터프라이즈 서버
Redis Enterprise Server

Redis Client for C#

C# 용 Redis Client입니다.
StackExchange.Redis Github
Visual Studio C# -> 프로젝트 -> NuGet 패키지 관리 -> StackExchange.Redis
이 문서는 StackExchange.Redis 버전 1.2.6, 레디스 버전 4.0.6을 기준으로 만들었습니다.

Connection, DB commands

  • allowAdmin: true로 설정하면 info, config 같은 서버 관련 명령을 실행할 수 있습니다.
  • redis.GetDatabase(): set, get 같은 DB 관련 명령을 실행 수 있습니다.
  • redis.GetServer(): info, dbsize, config 같은 특정 서버와 관련된 명령을 실행할 수 있습니다.
  • Sync, Async 명령을 실행할 수 있습니다.

Transaction: multi - exec

Pub/Sub

  • redis.GetSubscriber()을 이용합니다.

Server commands

  • redis.GetServer()을 이용합니다.


Standalone StackExchange.Redis Cluster >>

Email 답글이 올라오면 이메일로 알려드리겠습니다.