Which view type would you develop for structural components with multiple placeholders when using the ASP.NET Core Rendering SDK?
Which view type would you develop for structural components with multiple placeholders when using the ASP.NET Core Rendering SDK?
When using the ASP.NET Core Rendering SDK with Sitecore, model-bound components are the appropriate choice for developing structural components with multiple placeholders. These components have their model property automatically populated by the SDK, which includes a list of child placeholders and the renderings associated with each. This functionality ensures that the structural complexity of multiple placeholders is efficiently managed.
Partial view https://doc.sitecore.com/xp/en/developers/101/developer-tools/partial-views.html
D. Partial View
B. Model-bound components When using the ASP.NET Core Rendering SDK with Sitecore, model-bound components are appropriate for complex structural components that contain multiple placeholders. A model-bound component in ASP.NET Core has its model property automatically populated by the SDK. This model includes a list of child placeholders and the renderings that belong to each, among other things.