当前位置: 动力学知识库 > 问答 > 编程问答 >

asp.net mvc - Create a plugin based controller in Umbraco

问题描述:

How to create a plugin based controller in Umbraco? I have followed the guide on https://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.

网友答案:

you're area needs to be under the App_Plugins folder.

Sorry misunderstood the question, but it seems you figured it out as you explain in the post linked bellow.

http://our.umbraco.org/forum/developers/extending-umbraco/39704-Create-a-plugin-based-controller-in-Umbraco

分享给朋友:
您可能感兴趣的文章:
随机阅读: