TheCloudlessSky / Harbour.RedisSessionStateStore

A Redis based SessionStateStoreProvider written in C# using ServiceStack.Redis.
MIT License
166 stars 76 forks source link

SessionState in Azure Redis #21

Closed dvdstelt closed 10 years ago

dvdstelt commented 10 years ago

Is it possible to connect to Azure Redis? Because you need not just the hostname but also provide a password.

Check out the ScottGu blogpost at the bottom for how to connect: http://weblogs.asp.net/scottgu/archive/2014/05/12/azure-vm-security-extensions-expressroute-ga-reserved-ips-internal-load-balancing-multi-site-to-site-vpns-storage-import-export-ga-new-smb-file-service-api-management-hybrid-connection-service-redis-cache-remote-apps-and-more.aspx

TheCloudlessSky commented 10 years ago

I haven't used it with Azure, but you can definitely supply a password:

clientManager = new PooledRedisClientManager("password@redisServer:6379");
RedisSessionStateStoreProvider.SetClientManager(this.clientManager);