PAN1K
PAN1K
CC#
Created by PAN1K on 12/18/2023 in #help
Json Serializer implicit conversion
I'm trying to implement a GetAsync<T>(CacheKey key) method for Redis. The issue is that when T is string the method can't deserialize the value to string, as the value is already a string. I can do an if check for string type but I wonder if there is another way
3 replies
CC#
Created by PAN1K on 7/29/2023 in #help
❔ Kestrel error
I took the following error in prod env of my company's API. "Connection id "XXXXXX" application never complete. [Microsoft.AspNetCore.Server.Kestrel] [Kestrel Timer]" The only post I found in StackOverflow suggested that it may be something with a middleware but I didn't manage to reproduce it. This error happened 2 times from June until this week.
2 replies