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 답글이 올라오면 이메일로 알려드리겠습니다.

혹시 처음이세요?
레디스게이트에는 레디스에 대한 많은 정보가 있습니다.
레디스 소개, 명령어, SQL, 클라이언트, 서버, 센티널, 클러스터 등이 있습니다.
혹시 필요한 정보를 찾기 어려우시면 redisgate@gmail.com로 메일 주세요.
제가 찾아서 알려드리겠습니다.
 
close
IP를 기반으로 보여집니다.