I have an existing, fairly simple MVC5 site that may potentially need CMS functionality in the near future. Piranha seems to fit all of the core requirements I have, most importantly that it can integrate in an unobtrusive fashion. I have spent a few days getting it set up in my site and am really liking it so far but there are a couple of things I am unsure about.
In my current setup I am using Piranha's passive mode, with prefixless permalinks. My plan is to set up a page hierarchy in Piranha that mirrors my site structure and pull the page model in via permalink, then merge the page model into my existing viewmodels so I can start allowing content management.
My questions are:
Thanks!
Your suggestion would definitely work, however when deployed to two different sites you need to use a distributed cache so that entries in the public site are reloaded when updated in the manager. Also you need a distributed media provider so uploaded media is stored in a location both sites can access.
Not at the moment
See above
The simplest way would of course be to create a start page in the cms that routes to your existing home controller. This way the menu management will know where you are located in the structure. If you want to completely bypass the start page the / request is intercepted by a special startpagehandler which you can remove.
Regards
Håkan