Hydro Consulting
Hydro brings reactive, component-based interactivity to server-rendered .NET applications — without writing a single line of JavaScript. Think of it as the bridge between HTMX simplicity and rich component architecture.
Key highlights
What makes Hydro a breakthrough for .NET web development.
Zero JavaScript required
Build interactive components entirely in C#. Hydro handles the client-server communication automatically — no fetch calls, no state synchronization, no manual DOM updates.
Real-time updates
Components re-render on the server and update the DOM automatically. Users see changes instantly without page refreshes — like a SPA, but simpler.
ASP.NET Core native
Built on ASP.NET Core, Hydro integrates seamlessly with your existing services, middleware, authentication, and dependency injection. It feels like a natural extension of the framework.
Why Hydro delivers great user experiences
Reactive components, server-powered simplicity — from a UX perspective.
Interactive UIs without JavaScript complexity. Hydro lets you build components like sortable tables, dynamic forms, and live search — things that typically require a JavaScript framework — entirely in C#. The server handles state, rendering, and updates. Users get a responsive, interactive experience, and your team avoids the complexity of managing client-server state synchronization.
Always up-to-date data. Because Hydro components render on the server, the data is always fresh. There's no stale client-side cache, no desynchronized state, no "refresh to see the latest changes." Users see the current state of the system every time. This is especially valuable for dashboards, admin panels, and collaborative applications.
Accessible by default. Hydro renders standard HTML. Screen readers, keyboard navigation, and assistive technologies work naturally because the output is well-structured server-rendered markup. Accessibility improvements made on the server automatically apply to all users.
Fast initial loads, rich interactivity. Hydro pages start as server-rendered HTML — no blank loading states, no JavaScript spinner hell. Then, as users interact, only the components that change are updated. This combines the fast initial load of traditional server rendering with the smooth interactivity of a SPA.
Why we chose Hydro
The sweet spot between HTMX and full SPA frameworks.
At Microbians, we believe in choosing the right level of interactivity for each part of your application. Hydro occupies a sweet spot — it's more capable than HTMX for complex components, but far simpler than a JavaScript SPA framework. It lets our .NET teams build rich UIs without learning a separate frontend stack.
Hydro keeps your team in C#. For .NET-focused teams, this is a game-changer. Your entire development team can contribute to frontend components without context-switching to JavaScript. This reduces the bus factor and makes it easier to maintain and evolve the application over time.
We use Hydro alongside HTMX for a progressive enhancement approach. HTMX handles the simple interactions — form submissions, content loading — while Hydro powers the complex components that need real-time updates and client-side state. Together, they cover the full spectrum of web interactivity.
Hydro also integrates naturally with WolverineFx and the rest of our .NET stack. Hydro components can call Wolverine commands, subscribe to events, and trigger background jobs — all from C#. The entire backend is at your component's fingertips.
Where Hydro fits in the stack
The server-rendered component layer for interactive ASP.NET Core UIs.
Server-rendered components. Hydro components are C# classes that inherit from HydroComponent. They define state, handle events, and return Razor views. The framework manages the lifecycle — initial render, state changes, and DOM updates — automatically.
Embedded in Razor Pages or MVC views. You embed Hydro components in your regular server-rendered pages using a simple tag helper. This means you can start using Hydro for specific parts of a page (a live search bar, a sortable table) without rebuilding the entire application.
Alongside HTMX. We use HTMX for most page interactions and Hydro for the components that need richer interactivity. The two work seamlessly together — an HTMX interaction can update a Hydro component and vice versa. This gives you a progressive enhancement ladder from simple to complex.
Connected to your backend services. Hydro components access your full .NET backend — services, repositories, Wolverine handlers, and database contexts — through dependency injection. There's no separate API layer to build for your components; they call your existing backend directly.
When to choose Hydro
A decision framework for project leaders.
Ideal for
- .NET teams that want to build interactive UIs without JavaScript
- Applications that need both server rendering and rich interactivity
- Dashboards, admin panels, and data-driven interfaces
- Projects where real-time data updates matter
- Teams wanting to adopt HTMX patterns with a path to richer components
Less suited for
- Document-centric pages where HTMX alone suffices
- Offline-heavy or PWA-focused applications
- Highly graphical or animation-intensive UIs
- Teams that prefer a JavaScript-centric frontend approach
How to choose the right tech for the job
A pragmatic framework for making technology decisions.
The choice between HTMX, Hydro, and a full JavaScript framework is a spectrum, not a binary. Here's how we navigate it.
Start with HTMX for most pages. For content pages, forms, and simple interactions, HTMX is the simplest and most performant choice. It gives you interactivity without the complexity of a component model. We use HTMX as our default.
Reach for Hydro when you need more. When a component needs client-side state, real-time updates, or complex event handling, Hydro provides the structure you need without jumping to a full SPA framework. The transition from HTMX to Hydro is smooth — they coexist in the same page.
Consider Preact for the most interactive parts. For components that need fine-grained client-side interactivity — drag-and-drop, rich text editing, complex visualizations — Preact (or another JavaScript framework) is appropriate. These can be embedded as "islands" within your HTMX/Hydro pages.
Match the technology to the team. If your team is primarily C# developers without JavaScript expertise, Hydro extends their reach into interactive UIs without requiring a new skill set. If your team loves JavaScript, Preact or a similar framework might feel more natural. There's no universal "best" — only "best for your team."
Ready to make your .NET UIs interactive?
Let's explore how Hydro can bring reactive components to your server-rendered application.
Get in touch