Skip to content

Commit

Permalink
TestApp now compiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
enyim committed Jan 20, 2011
1 parent 87bf444 commit b27d4b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions TestApp/Program.cs
Expand Up @@ -25,14 +25,14 @@ static void Main(string[] args)

nscc.Urls.Add(new Uri("http://192.168.2.160:8091/pools/default"));
//nscc.Urls.Add(new Uri("http://192.168.2.162:8091/pools/default"));
nscc.Credentials = new NetworkCredential("A", "11111111");
nscc.Bucket = "content";
nscc.BucketPassword = "content";
//nscc.Credentials = new NetworkCredential("A", "11111111");
//nscc.Bucket = "content";
//nscc.BucketPassword = "content";

new MembaseClient(nscc).Store(StoreMode.Set, "1", 1);
new MembaseClient(nscc).Store(StoreMode.Set, "4q", 1);

new MembaseClient(nscc, "data", "data").Store(StoreMode.Set, "2", 2);
new MembaseClient(nscc, "feedback", null).Store(StoreMode.Set, "2", 2);
new MembaseClient(nscc, "data", "data").Store(StoreMode.Set, "q4", 2);
new MembaseClient(nscc, "feedback", null).Store(StoreMode.Set, "q4", 2);

Console.ReadLine();

Expand Down

0 comments on commit b27d4b8

Please sign in to comment.