So lately I was having an issue with Redis and Azure cause I was getting timeouts. I find out that most probably I was trying to serialize an object which had all the navigation properties and the Redis was basically going down. Anyway hopefully this is resolved.
However through my investigation I also noticed that on my local machine the RedisSessionStateProvider sometimes fails to load on startup. I noticed that this happens when for example I change the connestion string to my redis for session management from a remote redis to a local redis I have installed on my local pc.
When I opened the monitoring tool on Redis I noticed that when the application starts to load, the redis cause into an infinite number of commands coming from the RedisSessionStateProvider which makes the application fail to load. If I restart the PC then it loads well.
Does anyone know why there is thie behaviour?
Thanks