But when browsing to ~/umbraco/areaname/controllername I get a 404. The only way not getting this is removing the plugin attribute. But I want to use the plugin architecture. So what else needs to be done besides the instruction mentioned in the guide.
The documentation is really awful if you want to get started with Umbraco and MVC.
Create a plugin based controller in Umbraco
How to create a plugin based controller in Umbraco? I have followed the guide onhttps://github.com/Shandem/Umbraco4Docs/blob/4.8.0/Documentation/Reference/Mvc/surface-controllers.md.
But when browsing to ~/umbraco/areaname/controllername I get a 404. The only way not getting this is removing the plugin attribute. But I want to use the plugin architecture. So what else needs to be done besides the instruction mentioned in the guide.
The documentation is really awful if you want to get started with Umbraco and MVC.
By the way I am using Umbraco 6.
Hi Mounhim
I'm not yet that good at the MVC approach and I have only created a surface controller at the v6 upgrade course.
However I'm curious if you have had a look at the documentation about surface controllers in the documentation section of our here? http://our.umbraco.org/documentation/Reference/Mvc/surface-controllers
You can see more MVC topics here http://our.umbraco.org/documentation/Reference/Mvc/
Hope this helps.
/Jan
It worked in the end. Had to use the Surface prefix.
is working on a reply...