There are 1 repository under razor-view-to-string topic.
Razor Templating Engine to render Razor Views(.cshtml files) to String in Console, Web, Service, Desktop workloads in .NET Core 3+
Render Razor views from the new .net 6 minimal API.