What is Hydro?
mainHydro is an extension for ASP.NET Core MVC and Razor Pages that enables stateful and reactive components without requiring significant JavaScript. It extends standard View Components to allow them to communicate with each other and update the UI without full page reloads, providing a Single Page Application (SPA) feel within the standard .NET server-side rendering model.
Hydro relies on:
- Razor views (*.cshtml): For server-side UI generation.
- AJAX: For client-server communication, state synchronization, and updates.
- Alpine.js: Used for request execution, DOM swapping, and as an expansion point for client-side interactivity.