RazorMachine is a robust Razor 2.0 templating engine that supports layouts as well as a _viewStart construct like Asp.Net MVC
See the version list below for details.
Install-Package RazorMachine -Version 2.5.0
dotnet add package RazorMachine --version 2.5.0
<PackageReference Include="RazorMachine" Version="2.5.0" />
paket add RazorMachine --version 2.5.0
release 2.5 - 01/25/2013 - several improvements (like @helper support), no breaking changes in public API
This package has no dependencies.