CRUD with the Blazor WebAssembly Render Mode in .NET 8 🔥

  Рет қаралды 15,017

Patrick God

Patrick God

Күн бұрын

🚀 Join the .NET Web Academy: dotnetwebacademy.teachable.com
➡️ Use code START2024 for 10% off!
🚀 Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com
💖 Support me on Patreon for exclusive source code access: / _patrickgod
🐦 Let's get social on Twitter/X: / _patrickgod
🔗 Let's connect on LinkedIn: / patrickgod
Table of Contents:
00:00 CRUD with the Blazor WebAssembly Render Mode in .NET 8 🔥
01:05 Create the Project
05:27 Adding a Model & Entity Framework Boilerplate
15:14 Create an API Controller
19:36 First Test
20:08 Create the Video Games Overview Page
33:45 Implement complete CRUD in the API Controller
37:12 Implement complete CRUD with Blazor WebAssembly
#DotNet #Blazor #AspNetCore

Пікірлер: 41
@persehlin4379
@persehlin4379 6 ай бұрын
Thanks for sharing your knowledge. It means a lot to us self-employed people who don't have the time or money to attend expensive training courses. I will find a way to reward you, because your videos will make my business better. I wish you and your family a happy new year!
@evanderteixeira5457
@evanderteixeira5457 5 ай бұрын
Great tutorial, this is a huge step for me to start building my Blazor apps
@tt_rain
@tt_rain 5 ай бұрын
This is real good. This help me solved my Blazor API issue.
@imadabab
@imadabab 10 күн бұрын
Just perfect. I learned a lot. Thanks a lot.
@stephenshillitoe817
@stephenshillitoe817 4 ай бұрын
Thank you Patrick for an excellent introduction to CRUD with Blazor WebAssembly! It helped me a great deal.
@PatrickGod
@PatrickGod 4 ай бұрын
Thank you so much, Stephen! Really appreciate it!
@atirah14
@atirah14 6 ай бұрын
Thanks!
@PatrickGod
@PatrickGod 6 ай бұрын
You are awesome! Thank you so much! Means the world to me! ❤
@phvianna
@phvianna 4 ай бұрын
Thanks.
@kek_1459
@kek_1459 6 ай бұрын
Hello thanks for your work! Will there ever be a video dedicated to CQRS and MediatR?
@PatrickGod
@PatrickGod 6 ай бұрын
Thanks for your feedback! Yes, CQRS & MediatR is definitely coming next year. Also deep dives into Clean Architecture with Blazor and .NET 8. So, stay tuned - and Happy New Year! 😜🥂
@atirah14
@atirah14 5 ай бұрын
You can add a reference to the shared project for the video game to be visible in the DataContext class file
@YoupiMatos2
@YoupiMatos2 5 ай бұрын
Hi Patrick, thanks a lot for you videos, I've got two requests for you, if you don't mind : - Make a new video on the Blazor Web App template, because your video was on the release candidate and it's different now - Make a video about Blazor used for Single Page Appliactions, the documentation is really confusing on this subject. If I understand correctly, setting the interactivity location to "Global" makes the app a SPA, but I'm not quite sure. Your expertise would be appreciated Anyway thanks for your work again, have a good day
@MrBigdogtim69
@MrBigdogtim69 6 ай бұрын
And please add Swagger - will be creating mobile apps from the API server as well
@MrBigdogtim69
@MrBigdogtim69 6 ай бұрын
Thank you for this content! I would love to see same but add authentication and authorization
@PatrickGod
@PatrickGod 6 ай бұрын
Coming. In the meantime, check out the Blazor Web App template and just add authentication from the template config. Thanks for your feedback!
@MrBigdogtim69
@MrBigdogtim69 5 ай бұрын
@@PatrickGod Can't wait to see it! Also need jwt because I also do mobile apps.
@eloveja6109
@eloveja6109 5 ай бұрын
It's possible to add Swagger in the server project ? Like a asp net web api
@mohsengolshani
@mohsengolshani 2 ай бұрын
Hi Patrick, thank you for your great videos. I have a request, if you don't mind: please add authentication to this video. Thanks in advance.
@ayattmohamed3616
@ayattmohamed3616 6 ай бұрын
​ 97 / 5 000 Respect and thank you a lot. But how to choose between Blazor wasm StandAlone with api host and this Template?
@user-uf2jz2mc2m
@user-uf2jz2mc2m 2 ай бұрын
Hi, I'm creating an app based on your lesson. To display the data in the table, I use the Fluent DataGrid from the Fluent UI package. Column sorting doesn't work in my table, you can help or someone else.
@yassermian9913
@yassermian9913 4 ай бұрын
how does the client know that i have to go to a seperate project when ever api/videogsmes is called. is client and server projects relationship set somewhere.
@JohnSmith-yr7ih
@JohnSmith-yr7ih 5 ай бұрын
Please create video: AspNet Core WEB API + Blazor
@LevelHorizon
@LevelHorizon 5 ай бұрын
Thanks for the tutorial 👍. Is turning off pre-rendering the only way to solve the issue? It seems we are disabling one of the main features of the new rendering options. If we simulate a long delay in the API, we see a blank content area rather then the 'loading...' text, presumably until the dlls have been downloaded? There has to be a better alternative - I just haven't found it yet!
@qutiephoebe2154
@qutiephoebe2154 5 ай бұрын
I agree. Also looking for a better solution than turning off the prerender.
@chrisatkinsonca
@chrisatkinsonca 4 ай бұрын
You can put an Http Client in the DI container of your server project. This seems silly at first glance since the server is calling itself, but it works.
@user-kl3bo3kl7j
@user-kl3bo3kl7j 4 ай бұрын
Can you make a video on how to migrate .net 6 projoect to .net 8 please huhu
@ghevisartor6005
@ghevisartor6005 3 ай бұрын
working with wasm component is a pain in the ass, if you used the dbcontext directly now you need a controller, same if you used to read files etc : /
@luisfernandodeolazabalsche3317
@luisfernandodeolazabalsche3317 6 ай бұрын
😄😄😄😀
@adam-xt8te
@adam-xt8te 5 ай бұрын
Kids will grow up and sleep whole night. Just wait few years
@phillismable6303
@phillismable6303 6 ай бұрын
Over 20 minutes of errors, come on when you teach a subject get it right FIRST time. I teach people brazilian jiu jitsu if I didn't do it right and our team didn't win competitions I wouldn't teach. There's NO excuse for these type of errors as you can edit your videos. IF you are THAT tired then please wait until you are rested, as it's just wasting peoples time and getting them to jump around all over the place.
@phillismable6303
@phillismable6303 6 ай бұрын
Now lets take this in to consideration, if I can't follow this video why would I sign up to get your paid for content ? Start this video and follow it through while typing out the code, no cheating, no cut n pasting, just follow it as if you were one of us. The video is 50 minutes long, to get it to run took me nearly 2 hours to get things working correctly. And there is no return to the Game Listings if you edit or add a new game, so that's an omission that needs amending.
@user-co9ne8gi2d
@user-co9ne8gi2d 6 ай бұрын
It's good to see common errors. Too many videos cut out all the errors and difficulties and they're not as helpful in the real world.
@phillismable6303
@phillismable6303 6 ай бұрын
Sorry I disagree maybe describe the error and the fix, and show them after you have taught them the correct way, you never show errors during any demo.@@user-co9ne8gi2d
@phillismable6303
@phillismable6303 6 ай бұрын
Why not cut n paste the code from a project that is working, at least it would be right first time when we watch it. And then tell us what it does and why it's better that way, just like they teach in schools.@@user-co9ne8gi2d
@honoremugisha3116
@honoremugisha3116 6 ай бұрын
It is for free, i don't see any reason to complain.
🌊Насколько Глубокий Океан ? #shorts
00:42
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 5 МЛН
CRUD with the Blazor Server Render Mode in .NET 8 🔥
50:27
Patrick God
Рет қаралды 11 М.
C# Events | Events in C# with example | C# interview question
20:31
Code With RaiGenics
Рет қаралды 15 М.
Rest API - Best Practices - Design
15:50
High-Performance Programming
Рет қаралды 98 М.
Should I Create A Minimal API Or Full API?
7:40
IAmTimCorey
Рет қаралды 33 М.
Create Cascading Dropdowns with Blazor in .NET 8 🔥
22:12
Patrick God
Рет қаралды 5 М.
Popular Technologies that Won't be Around Much Longer...
14:36
Sideprojects
Рет қаралды 115 М.
Is Blazor Better than React?
14:25
Gavin Lon
Рет қаралды 42 М.
Blazor WebAssembly ASP.NET Core Hosted in .NET 8 🔥
15:37
Patrick God
Рет қаралды 16 М.