I'm trying to make a simple rendering of a controller with Sitecore 8 and for some reason it creates StackOverflowExceptiona line in the main layout markup containing a link to the placeholder in which it should be presented. The workflow crashes, but you can see the stack overflow while debugging the process:
StackOverflowException
Here is my main controller:
And here is my definition of controller rendering:
Playback Notes:
wwwroot
FYI - - , , ,
, .
ViewResult, ( Sitecore), null:
ViewResult
@{ Layout = null; }
MVC , , , Sitecore placeholder, StackOverflowException.
, Sitecore PartialViewResult ViewResult , null.
, View() - , Sitecore .
View()
View() :
return View("/Views/Courses/Index.cshtml");
EDIT:
@David Masters, - View PartialView . :
View
PartialView
return PartialView("/Views/Courses/Index.cshtml");
, placeholder -, sitecore/layout/placeholder ?
-, .
,
!!