News for hackers. Stuff that matters.
Re:The Case for C# and .NET by graboid on Monday July 25, 2022 @04:36AM (#32221906)
Its funny, after considering Blazor serverside and WASM, I also opted for HTMX + Alpine.js (when needed) + ViewComponents. Considering how nice server-side rendering story is in ASP.NET, I feel like this is a setup that really works well in a lot of situations, from low-interactivity pages to really complex UIs. It is lightweight on the client side (just load the small htmx and alpine scripts), lets me do much of rendering server-side in .cshtml views, and which needs no JS build pipeline of any kind.
Re:The Case for C# and .NET by brtkdotse on Monday July 25, 2022 @04:41AM (#32221945)
This my exact setup and the only thing I’m missing is Blazor-style component syntax instead of the fairly convoluted way with <vc:*>