I've followed the first steps in this article and tried making some strongly typed views/controllers but can't get it to work. I've added the master model, setting some of the properties in my master controller and have my other controllers inherit from. But when I go to my layout page and change the inheritance from UmbracoTemplatePage to use @model project.Model.Master it stops working. Not even a hint as to what's wrong, it just shows the "standard server error in application" page.
Problem with strongly typed views/controllers
I've followed the first steps in this article and tried making some strongly typed views/controllers but can't get it to work. I've added the master model, setting some of the properties in my master controller and have my other controllers inherit from. But when I go to my layout page and change the inheritance from UmbracoTemplatePage to use @model project.Model.Master it stops working. Not even a hint as to what's wrong, it just shows the "standard server error in application" page.
Any idea what might be wrong? I'm using 7.1.0
Can you post your code so we can have a look where it is going wrong ?
is working on a reply...