Blazor Desktop App Visual Studio 2022 C# .Net 6 - Hybrid Windows Form using Razor Class Library

  Рет қаралды 24,283

Coding Jackpot

Coding Jackpot

2 жыл бұрын

Develop windows form application using Blazor Desktop App with visual studio 2022 and .Net6 Platform.

Пікірлер: 54
@user-xt9vl9kx5g
@user-xt9vl9kx5g 2 жыл бұрын
Thank you for your Mercy! and Share! !!!!! Now!!!! .Net 6!!!!!!!! VS2022!~~~~ Blazor!~ I'm waiting for you...~ Thank you.!~
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Glad that you liked the video .. please like share and subscribe ... Thanks
@nisarhussain3963
@nisarhussain3963 Жыл бұрын
Hi
@andreibenkov4339
@andreibenkov4339 Жыл бұрын
Thanks so much. A very special video.
@hansdebruijn2821
@hansdebruijn2821 2 жыл бұрын
This is really useful! Thanks a lot.
@CodingJackpot
@CodingJackpot 2 жыл бұрын
You are welcome .. please like share and subscribe for upcoming videos
@srikanthkusumba7478
@srikanthkusumba7478 2 жыл бұрын
Thank you so much for sharing this. very detailed.
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Thanks for watching .. subscribe for upcoming videos of blazor crud oprations
@Qrzychu92
@Qrzychu92 2 жыл бұрын
I want to do that in WPF, but I think the process will be almost the same. Thanks a lot, very clear tutorial, keep up with good work
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Great that it helped ... please subscribe for upcoming videos
@MihaiMoisei
@MihaiMoisei 2 жыл бұрын
Thanks a lot!!!
@CodingJackpot
@CodingJackpot 2 жыл бұрын
You're welcome! Glad that you liked the video tutorial
@philibertande3097
@philibertande3097 2 жыл бұрын
I made the full CRUD using SQLserver and ADO works fine. However what would be more interesting is a video showing the same but using EF Core which is the recommended framework by microsoft for data processing and most modern too.
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Sure we will create Demo using EF core in our future videos
@sup3rs566
@sup3rs566 5 ай бұрын
When I try to add the project reference of the library to the blazorApp project it appears a warning triangle on the references of the blazorApp project, how can I solve this?
2 жыл бұрын
interesting
@RoggemansG
@RoggemansG Жыл бұрын
Is there a git repo with the source?
@DhirenPathak
@DhirenPathak 10 ай бұрын
Thank you , please one video to make web and android (using sql CRUD operation) both web - mobile
@habibi750
@habibi750 2 жыл бұрын
Does the win form app need to be connected to the internet to work? I’m trying to understand why host a blazor app in winforms and not just create a progressive web application. What’s the benefit to hosting in winforms?
@paudricsmith619
@paudricsmith619 Жыл бұрын
Yes I am wondering the same question, did you find the answer pls??
@habibi750
@habibi750 Жыл бұрын
@@paudricsmith619 If you are using blazor web assembly and not server, then you don’t need to be connected to internet. If you host using winforms, then you have access to native desktop api that you wouldn’t have if you only used blazor.
@parulchauhan499
@parulchauhan499 3 ай бұрын
thank you , its very use full , can i use SQl server data base with Blazor , and how we can create setup file for windows application .Please explain
@Bogdanjak00
@Bogdanjak00 2 жыл бұрын
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?
@CodingJackpot
@CodingJackpot 2 жыл бұрын
For Authorization on desktop application we can simply verify it using the login details stored in local sqlite db .. you can refer to our video tutorial on the same with CRUD operation
@DwikiIkhwan
@DwikiIkhwan 2 жыл бұрын
Great tutorial, I have an error though. When I'm trying to set the desktop / winforms version as start up project I got this error "Unable to find the required services. Please add all the required services by calling 'IServiceCollection.AddWindowsFormsBlazorWebView' in the application startup code." What do I miss? Thanks in advance!
@CodingJackpot
@CodingJackpot 2 жыл бұрын
This type of errors i also got as this version is not in production yet once the production release is officially out we may see more stable process
@David-rz4vc
@David-rz4vc 2 жыл бұрын
Did u figure it out?
@TheZacpapac04
@TheZacpapac04 Жыл бұрын
@@David-rz4vc With the version 6.0.101-preview.10.2068 there is no error. However if you use Microsoft.AspNetCore.Components.WebView.WindowsForms with version > of 6.0.101-preview.10.2068 you get the error. You must change on Form1 the code servicecollection.AddBlazorWebView() to servicecollection.AddWindowsFormsBlazorWebView(). After that, it works perfectly.
@not_AI_bot
@not_AI_bot 10 ай бұрын
is there example for android?
2 жыл бұрын
i prefer using maui for it
@philibertande3097
@philibertande3097 2 жыл бұрын
This works fine!! but when I reopen VS 2022 the designer with the Form1.cs[Design] on it does not load! black screeen with Parameter is incorrect 0x0070057 E_INVALIDARG Could you tell us how to fix the issue. Thank you
@CodingJackpot
@CodingJackpot 2 жыл бұрын
is your project getting build properly without any error? even if your designer does not load it should work fine ...
@philibertande3097
@philibertande3097 2 жыл бұрын
@@CodingJackpot Thank you for your answer I just cleaned the solution and relauched visual studio, the viewer worked, there is no error. Thank you for your help!!
@CodingJackpot
@CodingJackpot 2 жыл бұрын
@@philibertande3097 Glad it helped
@cissemy
@cissemy 2 жыл бұрын
Great Instead of using blazorWebview1.HostPage= @"wwwroot\index.html" can I point to blazor server index.html hosted on azure ?
@CodingJackpot
@CodingJackpot 2 жыл бұрын
I need to check whether it can work from server url or not .. but instead it would be good idea to get data from api and display on desktop application.. as what I understand is you are trying to create a online based desktop app
@cissemy
@cissemy 2 жыл бұрын
@@CodingJackpot Yes .I am trying to create a online based desktop app.
@cissemy
@cissemy 2 жыл бұрын
@@CodingJackpot Yes online based desktop app
@isaacmenakambo9567
@isaacmenakambo9567 2 жыл бұрын
Bien pour l'example sauf que Blazor est dégoûtant tu consomme plus de temps mais tu fais quelque chose de plus petit Microsoft visual studio renlentisse l'ordinateur
@S3Kglitches
@S3Kglitches 2 жыл бұрын
it was more simple in May 2021 when .NET 6 was in preview lol how come it is so complicated to get it to work
@CodingJackpot
@CodingJackpot 2 жыл бұрын
yes it will be more simple when the final version is released
@S3Kglitches
@S3Kglitches 2 жыл бұрын
@@CodingJackpot wait Blazor for Desktop isn't finished yet? Do you know when it will be? I thought only .NET MAUI slipped the schedule
@ALKASHIF-
@ALKASHIF- 6 ай бұрын
the same idea of using webview2
@peeyushvarshney4358
@peeyushvarshney4358 Жыл бұрын
How will create a MSI installer file
@peeyushvarshney4358
@peeyushvarshney4358 Жыл бұрын
?
@rameezjaved725
@rameezjaved725 2 жыл бұрын
Will be looking for complete demo app
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Sure I will prepare a full demo
@user-xt9vl9kx5g
@user-xt9vl9kx5g 2 жыл бұрын
Can you create Discord?? 383 people wait for you...
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Hey i have created discord with my id selfstartcoding@gmail.com
@user-xt9vl9kx5g
@user-xt9vl9kx5g 2 жыл бұрын
Oh....How can Donation to you..??
@CodingJackpot
@CodingJackpot 2 жыл бұрын
donation link paypal.me/SelfStartCoding
@CodingJackpot
@CodingJackpot 2 жыл бұрын
you can also reach out to my facebook page at fb.com/selfstartcoding
Is Blazor Better than React?
14:25
Gavin Lon
Рет қаралды 45 М.
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 23 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 44 МЛН
Goodbye Electron.js 👋
6:09
Mehul - Codedamn
Рет қаралды 98 М.
9 UI Frameworks for .NET Desktop App Development [2024]
16:13
Claudio Bernasconi
Рет қаралды 27 М.
Blazor + .NET MAUI - the perfect “hybrid”  | ODFP211
17:57
Microsoft Developer
Рет қаралды 11 М.
How to Create Setup .exe in Visual Studio 2022 Step By Step
12:58
Coding Jackpot
Рет қаралды 204 М.
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 223 М.
Blazor Desktop Winforms App CRUD Operations .Net6 Visual Studio 2022
37:00
Blazor in 100 Seconds
2:33
Fireship
Рет қаралды 563 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 7 МЛН
Частая ошибка геймеров? 😐 Dareu A710X
1:00
Вэйми
Рет қаралды 5 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 4,2 МЛН