I have an application built using CodeFluent that is hosted as a SAAS solution. It uses the Ms Azure database as storage but all customers are in the same database now. Considering best practices for SAAS solutions it would be better to separate databases. It would be easier to backup/restore separate client data and also better from a security perspective. We would like to use the Azure elastic database pool.
However, it is not really simple. Codefluent uses a fixed database connection, set in the web.config. And if I can change it somehow, how can I determine what database to use. There is not always a session or httpcontext... Has anyone had the same challenge, and how did you solve it?