Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm very new to umbraco and I'm being required to create a separate projects for every features in the website, so let's say I have a carousel control in the website then I would create an MVC project called carousel.csproj, and another project for a image logo "Logo.csproj" and the list goes on. The cshtml will also be placed on subfolder under the views of each projects.
All this feature projects will then be referenced to a main web project that contains the master.cshtml
Now, creating a template in Umbraco automatically stores the cshtml to ~/views by default. Is it possible to changed or configure the path and map a template to an existing view?
Hey, don't want to piss on your parade but this sounds like an anti-pattern.
Why are you required to create a project per component? It seems like overkill and a maintenance nightmare.
IKR, the purpose of this design is to make every features modular, however if Umbraco is limited to do such configuration then I think there's no point to keep pushing this kind of solution structure. Any another insight are welcome.
How would this work when you build and publish to a single web folder?
As an alternative you could have a build task that copies your views in your separate projects into the web folder. That might be a nice solution - though you wouldn't be debugging the version I suppose?
You can try this though:
Are you trying to come up with a base install to speed up development?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted