Until now I've just only recovered components from Tridion in my DXA using ContentProvider.GetEntityModel. The thing is that now I need to create pages and add components to them. I have created a test page (test.html) with only one component with some text fields.
I have created this controller in my DXA:
In the Global.asax:
I've created a view for my page (MainPage) that only contains this:
I have also a View for the Region Main containing:
I also have a model for my component (with all the semantics necessary):
And a controller (it doesn't do much for the moment), which is the one specified in the component template:
And a view Story (which is the one specified in the component template) containing a simple text.
I have registered all:
I thought that doing this the application would load the main view and then it would enter in each controller associated to the components included (in this case only one), but it keeps failing here:
I don't know if I'm not understanding how this works or if I've configured someting wrongly, could anybody help me here?
Thanks a lot
Mer
Sdl.Web.Site
. Where is your Controller?