I've yet to see a good example of how to implement MVC in umbraco v6. First of all, the default file structure of umbraco has neither a models nor a views folder. To most users of MVC, including myslef this is the only way they understand MVC.
What I need to know is, in detail, where should i place each file. The tutorials just say, add a controller with whatever code without telling you where to put it. I have tried opening my site in VS and adding models and controllers files but intellisense doesn't even seem to be working using that approach.
Need help getting started with MVC.
Hi,
I've yet to see a good example of how to implement MVC in umbraco v6. First of all, the default file structure of umbraco has neither a models nor a views folder. To most users of MVC, including myslef this is the only way they understand MVC.
What I need to know is, in detail, where should i place each file. The tutorials just say, add a controller with whatever code without telling you where to put it. I have tried opening my site in VS and adding models and controllers files but intellisense doesn't even seem to be working using that approach.
Thanks in advance,
Brandon
Hi Brandon,
You can read great Bo Mortensen's article - http://24days.in/umbraco/2013/creating-reusable-code-in-mvc-apps/
Interesting conversation for beginners - https://our.umbraco.org/forum/developers/extending-umbraco/69651-evaluating-umbraco
Thanks, Alex
is working on a reply...