Blazor Desktop – hybrid Web and Desktop apps in .NET!
Ted's Tech
A single C# / .NET 6 hybrid Blazor app running in the Browser and on Desktop as a native app! I love this and think this will be a sleeper hit new feature in .NET 6. You can even use native Windows UI features from Blazor!
Example code here: https://github.com/edandersen/blazor-desktop-crossplatform-sample
0:00 Intro
0:18 Setting up the Blazor server web app
2:17 Moving shared code to a Razor Class Library
6:10 Rendering the Blazor app in WinForms
9:05 Native Windows UI interop for Blazor in Blazor Desktop on Windows Forms
#blazor #dotnet #csharp