One umbraco installation with many Database connections
Hi,
Is it possible to let one CMS installation select different Databases, based on the url.
Mayby I have 20 different url mapped to an Umbraco node, and I would like each node to have its own database.
Is this possible?
Thanks
Why would you want a DB per node? Can't understand why you would want that?
If you want to pull data from a specific database when a user hits a certain page, then this can all be done in code (i.e. with different EntityFramework Models OR custom ADO.NET connections etc.).
I was thinking about making a service based application, where companies could create an account. Then each company could have its own umbraco SQL server instance (better security i guess). Then with one code base, I would only need to update one place.
Does that seems cracy ?
Maybe you can have a look at Umbraco Cloud. They have something called baseline sites. This allows you to create new projects by cloning a existing code base. It will create a seperate website and database for you.
One umbraco installation with many Database connections
Hi, Is it possible to let one CMS installation select different Databases, based on the url. Mayby I have 20 different url mapped to an Umbraco node, and I would like each node to have its own database. Is this possible? Thanks
Hi Klaus,
This is not possible. It's one Umbraco DB per Umbraco installation. Why do you want this ?
Dave
Hi Klaus,
This does seem like a strange request...
Why would you want a DB per node? Can't understand why you would want that?
If you want to pull data from a specific database when a user hits a certain page, then this can all be done in code (i.e. with different EntityFramework Models OR custom ADO.NET connections etc.).
Regards
Craig
I was thinking about making a service based application, where companies could create an account. Then each company could have its own umbraco SQL server instance (better security i guess). Then with one code base, I would only need to update one place. Does that seems cracy ?
Hi Klaus,
Maybe you can have a look at Umbraco Cloud. They have something called baseline sites. This allows you to create new projects by cloning a existing code base. It will create a seperate website and database for you.
Maybe this can help you out ?
Dave
is working on a reply...