Hey everyone,
We’re starting a new Umbraco Cloud project, currently v15 but will soon move to v16 when it is released.
I’m wondering if there are any best practices and recommendation for multisite solution set up when working with Umbraco?
I have worked with CMSs for a long time (I come mainly from a Sitecore background), so understand CMS concepts very well, including structuring content, root nodes, reusablity of document types and components. I’ve also read through the info on the multisite setup documentation: Multisite Setup | Umbraco CMS
I haven’t been able to any guidance on the Visual Studio solution set up though?
Are there are recommendations on separating out the code into separate projects per site, to keep the business logic, the components, controllers. views etc separate? I know you can separate out the C# Class Libraries into separate projects, and there are potential issues with multiple Web projects, but there are often workarounds.
Ideally, i would have a Common web project, and then a Web project per site (along with multiple Class projects as needed).
Also from the backend structure, it looks like it’s possible to organise Document Types in folders, but doesn’t seem like it is possible to do that so much with block list/block grid components? MVC Areas support also seems to be some what limited form what I could find out, so it didn’t seem possible to separate using Areas easily.
We’re only to have a number of sites on this project, there will be some common elements, but many components which will be very site specific and only used on specific sites. We have found that longer term, keeping the separation of projects in the solution helps maintenance and reduce overhead in the longer term.
What are some recommendations, what have you found to work well?
thanks
Kam