Replies: 1 comment 5 replies
-
Can you provide the StackTrace for the Redis Exception |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an issue upgrading a VB .NET application from ServiceStack 3.X to 8.2.2
I'm using an InMemoryAuthRepository and injecting ICacheClient into our custom credential auth repository which has overrides for TryAuthenticateAsync where credentials are checked using Microsoft Identity after success of which a session is created. All this works except after the TryAuthenticateAsync override completes, the callstack ends up in the RedisAuthRepositoryAsync class somehow and fails because there is no Redis connection. That class is expecting a connection object to be instantiated. Declaratively I'm explicitly using InMemory and nothing in my code is referencing or declaring Redis.
Also I used the latest VB ServiceStack scaffolding to get a quick proof of concept in .NET 6 with the same InMemory/ICacheClient declarations and TryAuthenticateAsync override and it works successfully without ever traversing that Redis class.
Does anyone have any insight on using the latest ServiceStack with .NET Framework?
Beta Was this translation helpful? Give feedback.
All reactions