Microsoft Azure Redis SessionStateProvider

Read this morning about the Microsoft Azure Redis Cache Service on Scott Guthrie’s blog and immediately had to try it out.

You’ll have to log in to the Microsoft Azure Preview Portal and create a Redis cache service. After that you must have an ASP.NET Website for forms or MVC and install the following Nuget package, which uses the StackExchange Redis Client:

Install-Package Harbour.RedisSessionStateStore

  <sessionState mode="Custom" customProvider="RedisSessionStateProvider">
      <clear />
      <add name="RedisSessionStateProvider"
            host="TUw8207//" clientType="basic" />

And it just works! Pretty epic!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *