And I want to create an Asp.Net WebApp that will read/write user data, how do I do it?
As far as I can tell - and I could be totally wrong - the Sync Gateway adds metadata to docs for syncing? Does that mean that if I wanted to read/write from the WebApp I would have to go through the Sync Gateway or could I directly access the CouchBase Server?
Is this possible at all and if so and what’s the best way of doing it?
You can use the Sync Gateway REST API from your web-app.
You can also access the Couchbase Server bucket, as long as you play by the rules:
Only read, never write.
Ignore the "_sync" properties in documents, which contain internal Sync Gateway metadata.
Ignore any keys in the bucket that start with _sync:.
If you define any views or N1QL queries, you’ll need to make them follow rules 2 and 3
In the long term we’re actively working on converging the storage systems so that these restrictions won’t be necessary — SG’s metadata will be invisible to you, and you’ll be able to modify documents without messing it up. It’s too early to announce anything about that, though.