Blazor Desktop - hybrid Web and Desktop apps in .NET!

preview_player
Показать описание
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!

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
Рекомендации по теме
Комментарии
Автор

Any questions let me know in the comments and I will do my best to answer them :)

edandersen
Автор

This is what I thought Blazor was when I first heard of it. I kind of skulked away from it when I discovered painfully it was not. But look! now it is. Thank you for sharing your time and knowledge.

Susandwyer
Автор

Exactly what I needed. Thanks very much, 12 minutes was all I required. And thanks for not plastering your face all over everything and continually inserting 'funny' images everywhere to try and 'keep my attention'. 😆

jugs
Автор

Very nice video, well explained, concise and the code as reference! Love it!!

Naster
Автор

That's the point.

You've made a very easy maintenance app, very flexible too, for Windows Forms, in less than half hour.

Thank you by share!

joseluisdeoliveirasantos
Автор

Thank you for this. The boilerplate suggested on Microsoft documentation was driving me nuts. What you laid out for WPF in your github repo is so much better. Subscribed!

bossfly
Автор

Shut up and take my like! I love where Blazor is and where it's going! Thanks for this video!

SmoothSkySailin
Автор

Thank you for the video, I have a question regarding the deployment to a client OS for the desktop version. Would the desktop version need a server version or it would run as a standalone application? Another question would it work the same for WPF?
Thank you

albertngoudjou
Автор

dear pogramming content creators; please dont use mechanic keyboard.

kaplansedat
Автор

Can you make the Windows Forms app a standalone .exe file? Like, JUST the 1 file, where the .EXE contains everything it needs to run?

CleoCat
Автор

Great video.
How can I access database on azure using the desktop ? Should the blazor be wasm or server side ?

cissemy
Автор

so basically we're embedding an entire browser inside the winform app right? like electron js?

glowiever
Автор

Can you create a button on the windows application and by pressing can open the blazor web browser

YabalTeklebrhan
Автор

Nice introduction! Is it possible to implement the same with the built in authentication mechanisms (EF) which can be selected at the Blazor Server project creation screen? It works whenever I start it as a web application. But it throws exceptions in the winforms app. Any suggestions? Thanks...

klopsquark
Автор

Gracias Mistes Teds.... saludos de los andes peruanos

josbexerra
Автор

Great video thanks ! I still wonder if this will allow me to program a native app as administrator's use, and on the other hand the web app for users or both native and web have to be the exact same use.

mudmax
Автор

Great video. In what scenarios do you think this is useful?

mubarekabdi
Автор

This kind of desktop app can call the MS Outlook for sending out an email? Or just an web app running on desktop?

artai
Автор

A very good tutorial. But I have a question. is it possible to build such a solution but using the authorization function on the Blazor side?

Bogdanjak
Автор

Thanks for the video, I have some questions, does it work for a blazor wams project? how is the performance? I have an application with blazor wams but I have problems when rendering many elements, it is possible that this improves when executed from webView

wenderitachi