CRUD with Blazor SSR (Static Server-Side Rendering) in .NET 8 🔥

preview_player
Показать описание


Table of Contents:
00:00 CRUD with Blazor SSR (Static Server-Side Rendering) in .NET 8 🔥
01:26 Creating the Blazor Web App Project
02:44 Defining the Entity
04:22 Entity Framework Boilerplate
11:56 Running Code-First Migrations
14:30 Building a New Page for Video Game Display
24:28 Stream Rendering for Enhanced User Experience
26:07 Read a Single Entry
34:22 Create a Video Game
41:33 Update a Video Game
43:41 Delete a Video Game
48:43 Adding Enhanced Navigation

#DotNet #Blazor #AspNetCore
Рекомендации по теме
Комментарии
Автор

Very well organized and clean codes and error/validations handling is very helpful. Thank you very much!

zhujustin
Автор

Very informative and very well done, as usual. SSR is super cool! I have several Blazor server-side apps I will be migrating to SSR. I've always appreciated the simple architecture of Blazor server-side. SSR to me is server-side without the websockets dependency, which, as you know presented scaling issues. Can't wait to see more of your vids! Keep up the great work!

travisholt
Автор

Completed the video. Thanks for teaching. I am your student. I've purchased your blazor course in udemy.

atirah
Автор

Thanks Patrick, excellent video. Back in time to 1996! Just a lot faster and smarter. It is going to be interesting to see how web sites mix and match the different rendering modes in a single project. Fun stuff. What ever happen to buying you a cup of coffee??? I can't find the link.

charliehager
Автор

Hi Patrick.
Thanks for covering different topics regarding Blazor and .NET 8 in general. Could you possibly make some content covering the new .NET Aspire? That would be very much appreciated :)

KNPhilip
Автор

Nice and Precise! Thank you and keep it up.

shahnawazk
Автор

Excellent video first time watching blazor video although I work with netcore, but it was pretty well explained and easy to understand

spmaurya
Автор

Hello Patrick,
A little feedback here. Navigating to same page is not a good practice to apply. Instead of it, if your video game entity is deleted successfuly, you can also delete it from your list of videogames and trigger statehaschanged() thus blazor is going to re-renders the places which changed.
Thank you for the video.
Regards

baturhankahraman
Автор

Hi @PatrickGod, I see that the crud does not work unless you do this special thing "Model.prop ??= something", where did you get this bit of information and do you know why it is the case. How should this work with non-nullable properties like int's and bools? as "Model.myintorbool ??= something" would give an error.

wusswuzz
Автор

Hi, nice video,
When video game data is saved then can i navigate to list page using navigation manager. Because i try i gives error

ankeshankur
Автор

Hi Patrick,
would it be possible for you to show us how can Blazor be integrated into an existing .net MVC app? Many of us have existing project and do not work regularly on greenfield stuff. Can you create a tutorial on how would you slowly migrate an existing MVC project into a Blazor SPA app. Is it even possible to have certain parts of the page be Blazor components while other parts are just regular MVC Razor pages? I think this would be a very useful video considering that there is very little material to be found on the internet about project migration to Blazor...

MarkoMijuskovic
Автор

Sorry But I didn't understand why should use ??= operator for update. and If we have 100 properties should write 100 times ?

slish
Автор

While editing, for Release year, in the edit operation -- there is an error ??= cannot be applied to operands of type 'int' and 'int' CS0019. How can i solve this. You dont have this error.

atirah
Автор

Blazor Server strongly recommends using DbContextFactory and not DbContext to ensure data integrity. Is it ok to use a simple DbContext in the new .NET 8?

kennethsmith
Автор

How can Blazor SSR work with injectedservices and dbcontext, but Blazor WASM can’t? (In your Blazor WASM CRUD tutorial you used HttpClient and had to build the api.

dmtuan
Автор

How can we display a delete confirmation dialog in Blazor SSR?

JtendraShahani
Автор

I was excited about Blazor SSR but it appears that HTMX is still better.

dovh
Автор

699 $ for your course, is ver steep for an indian in indian currency. Would you consider, continent specific pricing?

atirah
Автор

Hi patrick, is this the regular built in dark them of Visual Studio? BTW, thanks for this video.

rankarat
Автор

Completed the video. Thanks for teaching. I am your student. I've purchased your blazor course in udemy.

atirah