Originally posted at 11/27/2010
A while ago I had to make a decision regarding how to approach building the multi tenancy feature for RavenDB. Leaving aside the actual multi tenancy approach, we had an issue in how to allow access to it.
We have the following options for accessing the northwind database:
- /northwind/docs - breaking change, obvious, less work
- /docs?database=northwind - non breaking change, not so obvious, more work
What choice would you take?
If you know what is the choice I made for RavenDB, please don’t answer this post.