Glass Mapper Umbraco - 没有为此对象定义的无参数构造函数

时间:2016-03-15 17:02:59

标签: umbraco castle-windsor umbraco7 glass-mapper

我最近关于如何设置Umbraco和Glass Mapper的this post。我的所有代码都与示例相同。但是,当我创建一个控制器时,我不断出错。

No parameterless constructor defined for this object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.MissingMethodException: No parameterless constructor defined for this object.

有谁知道如何解决这个问题?我必须在Castle Windsor设置一些东西吗?

0 个答案:

没有答案