DamianEdwards / RazorSlices

Lightweight Razor-based templates for ASP.NET Core without MVC, Razor Pages, or Blazor.
MIT License
337 stars 15 forks source link

HtmlRenderer #33

Closed kjeske closed 1 year ago

kjeske commented 1 year ago

Will RazorSlices be still relevant after releasing .NET 8 with its HtmlRenderer, or it's a different thing?

DamianEdwards commented 1 year ago

The HtmlRenderer is for rendering Razor Components (Blazor components) and as such has the overhead associated with the rendering semantics and features of Blazor. Razor Slices will relevant for cases where low-overhead, high-performance, templated HTML rendering is a good fit.

kjeske commented 1 year ago

Thank you for the explanation - makes sense.