ServiceStack.Redis is a simple, high-performance and feature-rich C# Client for Redis with native support and high-level abstractions for serializing POCOs and Complex Types.
Questions tagged [servicestack.redis]
225 questions
1
vote
1 answer
Read values from ServiceStack.Redis Pipeline
How to read values from ServiceStack.Redis pipeline? I saw examples on GitHub, but I am not sure the code will work correctly if there are many QueueCommands at the same time(Let's say, 10000 for instance).
QueueCommand's callback seems to be an…

Daming Fu
- 53
- 7
1
vote
1 answer
How to add a list of objects as a value for a key in redis using c#?
I have a Model class -Person with respective properties.
I want to add a list of person (object) inside a list and set the list as value for a key.
I am using servicestack.redis driver.
I saw few examples where IRedisList<> has been used.I want to…

kaarthick raman
- 793
- 2
- 13
- 41
1
vote
2 answers
How to get ,update all keys and its values from redis database in c#?
I am using servicestack C# driver for connecting redis database which runs in 6379.
I want to retrieve(GET/READ) all keys and its values from redis database(which is actually cached).
I have to update two keys and its values in redisdb, is it…

kaarthick raman
- 793
- 2
- 13
- 41
1
vote
1 answer
ServiceStack.Redis connection issues with Azure Redis
I am having issues across several environments (ie different Azure Redis instances) similar to this post: ServiceStack.Redis: Unable to Connect: sPort:
But of course we cannot move or change redis servers since we are dependent on Azure Redis. If it…

jglassco
- 133
- 11
1
vote
0 answers
Ninject InRequestScope does not work ONLY when using Provider
Given that:
kernel.Bind()
.ToProvider()
.InSingletonScope();
kernel.Bind()
.ToProvider()
.InRequestScope();
public class ClientProvider : Provider
{
private…

Walter Macambira
- 2,574
- 19
- 28
1
vote
1 answer
ServiceStack Pub/Sub via Api
Is it possible to set up a pubsub via an api? I'm planning on using redis, but I don't want to expose it to the WWW (a security concern). I'd like to have subscribers come in via my Api so I can handle authentication & authorization, but I'm not…

TheDruidsKeeper
- 325
- 3
- 12
1
vote
1 answer
ServiceStack Redis Client GetValues when value is not present and is a value type
Running ServiceStack.Redis.IRedisClient.GetValues, when any key is missing, I cannot map the values returned to keys. For example:
I ask for keys ("a1", "a2", "a3"). If there is no value associated with key "a2",
it simply returns (1, 3).
But…

Walter Macambira
- 2,574
- 19
- 28
1
vote
1 answer
ServiceStack Caching
I am looking to cache an expensive query using ServiceStack.
My idea is as follows
Step 1: Cache entire database view to Redis which expires after a day
Step 2: When client calls API route "/cached/balances/{Date}", the service only returns a subset…

Mark
- 2,175
- 20
- 23
1
vote
1 answer
ServiceStack.Redis.RedisPoolManagerPool.GetClient() - IndexOutOfRangeException
We're receiving the following error in ServiceStack.Redis v4.0.48
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ServiceStack.Redis.RedisManagerPool.GetClient()
at…

josh-sachs
- 1,749
- 2
- 15
- 19
1
vote
1 answer
distinguishing features between stackexchange.redis and servicestack.redis
What are the distinguishing features between stackexchange.redis and servicestack.redis

sourav
- 47
- 4
1
vote
3 answers
Aspnet5 - ServiceStack.Redis - custom session provider
In earlier versions of .Net, custom session state provider was specified in web.config as

Navaneeth
- 447
- 3
- 8
- 16
1
vote
1 answer
COM+ wrapping a ServiceStack (NService.Kit) Redis Client queueing VBScript requests
I am trying to use the Redis + ServiceStack as cache on a legacy Classic ASP (VBScript).
There is no Classic ASP Client for Redis and we don't wanna change the way (syntax) the system is written. Today we use third-party component with some specific…

Diego Koga
- 49
- 6
1
vote
1 answer
Redis lexicographic search in reverse order
I have a sorted set in Redis where I store the userid and last login timestamp.
Adding to sorted set (using below code) works like a charm using StackExchange.Redis for C# and I can see the values added in redis-cli.
IDatabase rdb =…

user2107373
- 427
- 3
- 16
1
vote
1 answer
ServiceStack Redis - caching expensive queries
We have a number of really expensive queries, which involve multiple joins, which I would like to cache using Redis (using the ultimate ServiceStack.Redis framework).
How many rows/items should I be storing in Redis before memory becomes an issue?…

Mark
- 2,175
- 20
- 23
1
vote
1 answer
Redis HSCAN Multiple Match
Here is the hash set I have
HSET MySet 111222333 Tom
HSET MySet 444555666 Julia
HSET MySet 777888999 Paul
You can think about the set field as a phone number, and the SET value as a person's name.
I need to get all records that contains "23" and…

Alexander Boriskin
- 155
- 2
- 10