May the forms be with you: a new hope with Blazor Hybrid on WinForms
summary
Step-by-step recipe for embedding Blazor into an existing WinForms app: change project SDK to Microsoft.NET.Sdk.Blazor, add a wwwroot and index.html, install Microsoft.AspNetCore.Components.WebView.WindowsForms and use the BlazorWebView control, wire up Microsoft.Extensions.DependencyInjection so a singleton CustomerStore is shared across WinForms and Blazor, plug in DevExpress controls including the DevExpress Data Grid and toast, and add an app‑bridge to call Blazor navigation from WinForms; demo shows edits and toasts in one UI immediately appearing in the other.
AI-written summary · about
chapters (12)
- 0:00Blazor Hybrid on WinForms intro
- 1:28What is Blazor Hybrid
- 4:40Project SDK and dependencies
- 7:52Add WebView to WinForms
- 11:29Dependency injection in WinForms
- 16:13Blazor components in WinForms
- 20:04Removing rendering modes
- 22:34Running the hybrid application demo
- 24:00Sync data WinForms & Blazor
- 26:49Mix WinForms & Blazor interactions
- 29:17App bridge for navigation
- 31:07Summary & possibilities
related talks
43mBlazor for Web Form and C# Developers
35mBlazor Hybrid: Use Your Blazor Skills to Build Desktop and Mobile Apps
58mBlazor Hybrid - Build Hybrid Mobile, Desktop, and Web apps with .NET MAUI
31mBuilding desktop apps using .NET MAUI and Blazor
49mArchitecture tips for hybrid apps with .NET MAUI and Blazor
53mCreating Next-Generation Applications with Blazor
01h 01mBlazor, a new framework for browser-based .NET apps
58mDesktop Apps Your Way!
