In a non-SXA website where you are using Sitecore MVC, you are working on the presentation for a website, starting with the layout. What two things are needed to successfully implement a layout? (Choose two.)
In a non-SXA website where you are using Sitecore MVC, you are working on the presentation for a website, starting with the layout. What two things are needed to successfully implement a layout? (Choose two.)
To successfully implement a layout in a non-SXA Sitecore MVC website, you need a layout.cshtml file and a layout definition item. The layout.cshtml file is necessary as it contains the HTML and Razor code, functioning as the base template for the site. The layout definition item in Sitecore is required to define and link this .cshtml file into the Sitecore content tree, enabling its use within the Sitecore application. Other options like a standard values item or main placeholder are important but are not essential specifically for the initial implementation of a layout.
A and B
A and B To create layout out we first need to create Layout item & then we need to assign .cshml file which will have _layout defination.
E is not correct