Session state during failover

@tommyjd

The session state provider has been updated to use Couchbase SDK 2.0: https://github.com/couchbaselabs/couchbase-aspnet/tree/2.0

It still needs some more refactoring, but it does work. Note a couple of changes:

  1. The first configured bucket in the couchbase section will be used as the caching/session bucket

  2. You must explicitly initialize Couchbase.ClusterHelper in the global.asax:

    protected void Application_Start()
    {
    ClusterHelper.Initialize(“couchbase-caching”);
    AreaRegistration.RegisterAllAreas();
    RegisterGlobalFilters(GlobalFilters.Filters);
    RegisterRoutes(RouteTable.Routes);
    }

Your config will also need to be changed to the SDK 2.0 syntax. Let me know if you run into any problems.

-Jeff