Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

ViewComponents should render partial views #960

@pranavkm

Description

@pranavkm

A ViewResult returned from a ViewComponentHelper renders a full view. This causes it to run _ViewStarts \ _Layouts etc which was not the intended design goal for ViewComponents. Instead, we should have it return a partial view. This way, they would have the same semantics as Html.Partial.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions