Our solution

To solve the problem.

Instead of the expensive "standard approach," the Blazor AI Migrator uses a specialized architectural shortcut. By combining LiveView and Streaming Rendering, we can move a Windows Forms app to the web without needing to untangle its complex internal logic.

🛠️ The Core Innovation

The secret to this modernization is shifting where the rendering happens while keeping the logic exactly where it is.

  • LiveView Pattern: Maintains a constant, persistent connection between the user’s browser and the server. The server does the heavy lifting of processing logic and rendering, sending only the necessary updates back to the user.

  • Streaming Rendering: Instead of waiting for a whole page to load, the server sends UI content in small "chunks" as they are ready. This allows users to see and interact with parts of the app immediately.

🏗️ The New Architecture

Our process replaces the old Windows native rendering system (gdi32.dll) with a modern HTML Server-Side Renderer.

Original Windows Forms App

The Modernized Components:

  • Full-Duplex Connection: A high-speed "two-way street" that streams user commands up to the server and visual updates down to the client in near real-time.

  • Client Proxy: A small helper on the user's side that catches HTML events (like clicks) to send to the server and updates the screen (DOM) based on what the server sends back.

  • Original Application Logic: The "brain" of your old app stays intact. We simply map web events to your original Windows Forms events, triggering the same business processes you've always used.

  • HTML Renderer: This is bound directly to the application state. When the state changes, it generates new HTML, calculates the tiny difference (visual delta) from the current view, and sends only that small change back to the client

LiveView and Streaming Rendering patterns applied

Last updated