I am trying out Couchbase Lite library, and I am following the steps from:
I cannot understand how do I create a local database. No matter what I'm am trying - I get : Message=Invalid database name:
I've tried different approacchies:
DirectoryInfo info = new DirectoryInfo("c:/");
Manager mgr = new Manager(info, ManagerOptions.Default);
var db = mgr.GetDatabase(dbName);
or
var db = Manager.SharedInstance.GetDatabase(dbName);
The GetDatabase documentation:
Returns the Couchbase.Lite.Database with the given name. If the Couchbase.Lite.Database // does not already exist, it is created.
- C# code examples are not available on the tutorial...
Why it's not working?