Questions tagged [servicestack.redis]

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.

225 questions
1
vote
1 answer

ServiceStack.Redis Unable to Connect: sPort: 0, when deploying at IIS in a Windows Server

I'm building .Net Core application Backend that is published in a Windows server with IIS. In this scenario a user can create a session and receive messages to it. The session and the messages are stored in a Database but to make it faster I'm using…
1
vote
0 answers

servicestack.redis can not visit sentinel

How is the sentry's password accessed?Why can't I visit my sentinel? I've tested my sentinels are accessible from the command line. I have changed the account password in the picture, which is not real. Just a sample.
Simon
  • 11
  • 2
1
vote
1 answer

SignalR Core with Redis Pub\Sub and console application

I am having Asp.Net Core 2.1 with SignalR Core 1.0.1. I have created chat application that is described here: https://learn.microsoft.com/en-us/aspnet/core/tutorials/signalr?view=aspnetcore-2.1&tabs=visual-studio Also have configured SignalR to use…
Volodymyr Ivanov
  • 159
  • 2
  • 12
1
vote
1 answer

How to specify "namespace" and "conformsto" attribute to APIs for services developed using ServiceStack?

We are currently in process of converting our legacy web services (asmx) into REST APIs layer developed using ServiceStack platform. There exists a few Web services having the namespace and Binding ConformsTo attributes specified in asmx. Following…
Nirman
  • 6,715
  • 19
  • 72
  • 139
1
vote
1 answer

Failover and client timeout

I am using ServiceStack 5.0.2 with Redis Sentinel (3 + 3) and having issues in case of a failover: commands being issued during or after a failover fail with timeout. I have come up with an idea to implement retry pattern via custom IRedisClient.…
1
vote
1 answer

ServiceStack: how to use distributed RedisEvents?

There is very little documentation (that I found) on how the distributed RedisEvents work in ServiceStack. The documentation says: One limitation the default MemoryServerEvents implementation has is being limited for use within a single App Server…
Ted
  • 19,727
  • 35
  • 96
  • 154
1
vote
1 answer

Making ServiceStack RedisSentinel use a RedisManagerPool instead of a PooledRedisClientManager

Using ServiceStack version 4.0.40. I am trying get RedisSentinel to use the RedisManagerPool instead of the PooledRedisClientManager so it will allow clients above the client pool size. I see this in the docs to set…
Dan
  • 1,450
  • 1
  • 17
  • 34
1
vote
1 answer

ServiceStack.redis configuration on VS 2008

I am working on a project(WebAPI) where i have to pick data from azure redis cache and i am using visual studio 2008 due to some constraints. How can i configure it to use ServiceStack.redis/azure redis cache on 08? I haven't been able to find any…
k174222
  • 11
  • 3
1
vote
1 answer

Why does RedisManager property removed from ServiceStack/Service.cs file?

Previously we had a RedisManager property in the version of 4.0.50 but in the latest version this property is removed. Can anyone know why it is been removed? What is the replacement for it?
anveshtummala
  • 432
  • 4
  • 11
1
vote
0 answers

Redis performance compared to sql server 2012

We are using Redis cache (Nservicekit-Redis client) to store master data related to store info, error codes, brand info..etc, each module contains 1k-5k records and all records of each module data (List) is serialized and store with a key…
1
vote
1 answer

ServiceStack.Redis Service availability

I am trying to figure out how check the availability of the Redis Client. The simple action of calling the client, will give me this information? Is there a better method? private RedisManagerPool redisPool; public RedisCacheProviderStatus…
Angelo Badellino
  • 2,141
  • 2
  • 24
  • 45
1
vote
1 answer

ServiceStack.Redis Sentinel simple setup, "No Redis Sentinels were available"

There are other questions similar to this but I wanted to boil this down to the bare bones. I am running a .NET application (C#) and am trying to connect to and monitor a group of redis servers running sentinel (3x sentinel monitoring 1 master and 2…
tmwoods
  • 2,353
  • 7
  • 28
  • 55
1
vote
1 answer

ServiceStack.Redis.RedisResponseException: unknown command 'SCAN'

I registered my RedisClient in my ServiceStack app host as follows container.Register(c => new RedisManagerPool(conn)); container.Register(c =>…
icube
  • 2,578
  • 1
  • 30
  • 63
1
vote
1 answer

How to set TTL to List Values in ServiceStack.Redis?

I Have a List in ServiceStack.Redis that I want to set a TimeSpan to expire it. In the other word, how to call the following redis command in ServiceStack.Redis EXPIRE ListId ttl my desired method is: client.Lists(listId, timespan); Is there…
M. Rezaeyan
  • 388
  • 2
  • 14
1
vote
1 answer

Encrypt Redis message on Azure using ServiceStack

I have a problem where we are using ServiceStack's Redis implementation for multi server caching and messaging via server sent events. As part of our security protocol, we are required to encrypt the data going into Redis. I was wondering if anyone…