So far, i don\'t think ViewComponent solves that neither does TagHelper. Is there any replacement to this? Something that takes parameters and retu
ViewComponent
TagHelper
How about using partials to recreate reusable tags?
MyProject/Views/Shared/_foo.cshtml
@model string @Model
MyProject/Views/Courses/Index.cshtml
@{ Layout = "_Layout"; }