- Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
Razor Pages Should Evolve Into a Livewire-Style Framework — No Page Reload, No SPA Complexity
I believe Microsoft should take Razor Pages to the next level by officially supporting a server-driven SPA model (just like Laravel Livewire).
The vision is simple:
▶ Build fully interactive, reactive web apps
▶ Use only Razor Pages + C#
▶ With no full page reload
▶ With no React/Vue/Angular
▶ With no SPA build tools
▶ Minimal or zero custom JavaScript
▶ DOM updates streamed from the server
Basically:
Razor Pages → Livewire for .NET.
A clean, modern, productive model where UI updates, form actions, component re-renders, and validation all happen server-side, while the browser updates only the changed HTML.
Why this matters
Frontend complexity is out of control.
Most business dashboards don’t need a full SPA framework.
A Livewire-style Razor Pages approach gives .NET developers:
✅ SPA-level interactivity
✅ Zero page reloads
✅ Real-time UI updates
✅ Strong security (all logic server-side)
✅ Faster development in pure C#
✅ No JS ecosystem headaches
.NET already has the pieces:
Razor Pages
Razor Components
Partial rendering
Blazor Server diffing
SignalR
What’s missing is a unified, official, documented pattern that says:
“Build reactive modern web apps entirely in Razor — no page reloads, no client SPA required.”
This would make .NET one of the most productive full-stack frameworks in the world.