private void Application_Start(object sender, EventArgs e) { // this loads from cache if found there, if not creates new one _pool = new MembasePool(PropertiesBucket, "jebise"); if (!_pool.ClientList.ContainsKey(StatsBucket)) _pool.AddBucketClient(StatsBucket, "jebise"); if (!_pool.ClientList.ContainsKey(UrlBucket)) _pool.AddBucketClient(UrlBucket, "jebise"); if (!_pool.ClientList.ContainsKey(WordBucket)) _pool.AddBucketClient(WordBucket, "jebise"); }
private void Application_End(object sender, EventArgs e) { _pool = null; }