Hello Frederick, Thank you very much for sharing your knowledge with us. Great tutorial. Please could you do a Part 2 for this tutorial that uses .Net Identity to secure the API endpoints and show us how to make calls from both the server and client. I also see @MihaiMoisei asking for something similar which includes a MAUI Blazor project. Thank you.
Great explanation and walkthrough.. just a humble suggestion.. it would be great if we just revise intermittently explaining how things are connected.. it will help a new learner to backtrack the flow of logic.. big fan of urs ❤❤
very clear and well explained tutorial. I followed your tutorial step by stem and when I try to get the All-List product, instead of invoke api url it directly accessing the ProductRepository. Do I have to do anything else?
How does it access repository whiles you haven’t set it . Kindly recheck the code. You can also grab the source code to guide you. If you need special assistance, mail me check the video description. Thanks 😊
Thanks for the explanation, I've seen a lot of Blazor 8 videos, and yours is the best to describe auto render, just a comment, it would be nice to add some server-side components as well, in my case, I have a Blazor server app in net7, I want to updated to net 8 to use auto render but I have a couple components that need be to on the server because I use them to upload files (images of the products) and save them in a folder under the WWWROOT section, I couldn't find a solution to do that using web assembly
I follow your publications with pleasure. Thank you. How can we achieve success when a shared class is used and my other classes are related to Identitity AplicationUser? and if I need to use it with AutoMapper?
Thank you very much for all the super informative tutorials! I have a question. I followed the tutorial example with .NET 8.00 final, and when navigating to the ProductList page for the first time, it loads twice-once on the server side and once on the client side. I am using @rendermode InteractiveAuto and not @attribute [RenderModeInteractiveAuto]. Do you have any idea what might be wrong? Thank you very much for everything.
Awwww! Sorry for that 😢 There are a few possible reasons: Auto render mode uses a timeout mechanism to check if the .NET WebAssembly runtime can be loaded quickly enough. If not, it falls back to Server render mode while the runtime is downloaded in the background. This may cause the page to load twice, once with Server and once with WebAssembly. Another reason: Auto render mode also checks if the WebAssembly resources have been cached by the browser. If so, it uses WebAssembly render mode, otherwise it falls back to Server render mode. This may cause the page to load twice if the cache is cleared or expired. To avoid these issues, you may want to use a different render mode, such as Server or WebAssembly, depending on your needs and preferences. Hope this helps 😅
How would you implement this with Identity? Can you have the extended IdentityUser model in the class library rather than the Data folder on the server? As this seems to cause a lot of complications when I've tried it.
1:47:06 When the Save button is clicked, it does not update and sends the value assigned with OnParametersSetAsync() to the form again. How to solve this problem???
hello sir, I tried to do dependency injection in my project in the client's program.cs and it doesnt work i get "theres no registered service" error and im not sure whats going on. Can you please help?
Bind button event to button through the UI. Call service. Make sure the page is interactive, create service for data retrieval... mail me if you need assistance in doing that.
Video is extremely useful, but you're a little bit hard to understand 4 me 🙂. And one more thing: do you really write and instantly do not check if your code works?
.Thanks for your comment. I do that in the preparation mode. We have to be mindful of the time as well. I always prepare it before I teach. Hope this sounds well.😂😊
Awww! sorry my friend @mohammedhameedkhan3013 , which part can't you read? is the text too small for you? Get the source code and follow the video along. github.com/Netcode-Hub/DemoBlazorCRUDOperationsWithDotNet8
I love your content. But I must point out that the way you are naming your directories and interfaces is very confusing. Usually, you have an interfaces folder and a repository folder. You are naming your interface IProductRepository - this is not a repo, its an interface and should be named IProduct !! The way you have named things is just way too confusing!!
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true can you help me?
My Country man, God richly bless you.For the 3th time, I have been able to complete the project.Many Thanks
Welcome 🤗
The Most CLEAR tutorial, explaination video for blazor .NET 8 i have seen , thank you SO MUCH
Then check the playlist because I have bunch of goodies for you 😂
Thanks you like it
@@Netcode-Hub I will definitely check it thanks again 🙏🏼
Very simply disclosed every topic in new dotnet 8. I can not help saying that it is a unique Lecture. Please carry on helping new learners like us.
sure, I agree😀
Thanks, I am glad you like it.
Thanks for the guide! Been looking everywhere for a good guide for doing CRUD between server and client with the new auto mode. This was excellent.
Thanks 😊
Hello Frederick,
Thank you very much for sharing your knowledge with us.
Great tutorial.
Please could you do a Part 2 for this tutorial that uses .Net Identity to secure the API endpoints and show us how to make calls from both the server and client.
I also see @MihaiMoisei asking for something similar which includes a MAUI Blazor project.
Thank you.
Yes I will🥰 . Thanks for showing interest
@@Netcode-Hubthank you Frederick.
I/we appreciate it ❤
Great explanation and walkthrough.. just a humble suggestion.. it would be great if we just revise intermittently explaining how things are connected.. it will help a new learner to backtrack the flow of logic.. big fan of urs ❤❤
Will start new playlist lessons for beginners with .NET 8 soon so watch out
It would be interesting to add IdentityDbContext and Swagger to create a MAUI Blazor project and extract the Components in a Razor Class Library
Excellent tutorial, many thanks for putting this together.
Welcome 🤗
I am glad you like 👍 it
very clear and well explained tutorial.
I followed your tutorial step by stem and when I try to get the All-List product, instead of invoke api url it directly accessing the ProductRepository. Do I have to do anything else?
How does it access repository whiles you haven’t set it . Kindly recheck the code.
You can also grab the source code to guide you.
If you need special assistance, mail me check the video description. Thanks 😊
The same thing happened to me, were you able to solve it?
Excellent tutorial, many thanks
The pleasure is all mine 😂
A very useful video for me. Thank you.
Thanks 😊
Absolutely stunning video tutorial !!!! Thank you!
Welcome 🤗
Thanks for the explanation, I've seen a lot of Blazor 8 videos, and yours is the best to describe auto render, just a comment, it would be nice to add some server-side components as well, in my case, I have a Blazor server app in net7, I want to updated to net 8 to use auto render but I have a couple components that need be to on the server because I use them to upload files (images of the products) and save them in a folder under the WWWROOT section, I couldn't find a solution to do that using web assembly
Aaawww sorry 😢 will have a video on that for you ,”.
Thanks bro, very kind of you!
@@Netcode-Hub
I follow your publications with pleasure. Thank you. How can we achieve success when a shared class is used and my other classes are related to Identitity AplicationUser? and if I need to use it with AutoMapper?
Thanks for your comment. Can you explain your question ? It seems I am not getting you well ☺️
Thank you very much for all the super informative tutorials! I have a question. I followed the tutorial example with .NET 8.00 final, and when navigating to the ProductList page for the first time, it loads twice-once on the server side and once on the client side. I am using @rendermode InteractiveAuto and not @attribute [RenderModeInteractiveAuto]. Do you have any idea what might be wrong? Thank you very much for everything.
Awwww! Sorry for that 😢
There are a few possible reasons:
Auto render mode uses a timeout mechanism to check if the .NET WebAssembly runtime can be loaded quickly enough.
If not, it falls back to Server render mode while the runtime is downloaded in the background.
This may cause the page to load twice, once with Server and once with WebAssembly.
Another reason: Auto render mode also checks if the WebAssembly resources have been cached by the browser.
If so, it uses WebAssembly render mode, otherwise it falls back to Server render mode. This may cause the page to load twice if the cache is cleared or expired.
To avoid these issues, you may want to use a different render mode, such as Server or WebAssembly, depending on your needs and preferences. Hope this helps 😅
@@Netcode-Hub Thank you very much, very kind
@@TosoAlejandro welcome sir 🫡 😂
thanks great job
Thank you too!
Thanks and nice tutorials
Am glad you like it 😃
How would you implement this with Identity? Can you have the extended IdentityUser model in the class library rather than the Data folder on the server? As this seems to cause a lot of complications when I've tried it.
Exactly, you can do that 😃
Awesome.
Thanks
Welcome 😊
Can you make a video on how to migrate .net 6 projoect to .net 8 please huhu
Ohk will check that
15:47 why I don't have such popup dropdown menu? Did you install anything?
DbContext comes from EFCore
So install it
EFCore
EFCore.Sqlserver
EFCore.Tools
1:47:06 When the Save button is clicked, it does not update and sends the value assigned with OnParametersSetAsync() to the form again. How to solve this problem???
It works ooo, can you push your project to GitHub so I can check for you , or send the method invoked when the update button is clicked
hello sir, I tried to do dependency injection in my project in the client's program.cs and it doesnt work i get "theres no registered service" error and im not sure whats going on. Can you please help?
Register it in both client and server
how much do you make from ads on this video? im about 1 hour in and it have been easy 50+ ads :D
😂Ads are controlled my google
how to manually refresh data with button?
Bind button event to button through the UI. Call service. Make sure the page is interactive, create service for data retrieval... mail me if you need assistance in doing that.
i want example for connect to attendance machine zk teco and get finger prints
Sorry for late reply, Alright, will make research on that.
If we are using both render mode how to handle local storage
Use Blazored.LocalStorage package by Chris Sainty and you are good to go
Surround your code with try catch block, coz server mode does not support local storage unless after render
@@Netcode-Hub my existing app web assembly 7 . I want to convert same app autorender mode . Blazor 8 .most of pages me using local storage
RenderModeInactiveAuto getting error which package used for this?
The same VS with .Net 8 framework. Maybe you have discard the old project and create new one ☝️
Video is extremely useful, but you're a little bit hard to understand 4 me 🙂. And one more thing: do you really write and instantly do not check if your code works?
.Thanks for your comment.
I do that in the preparation mode.
We have to be mindful of the time as well. I always prepare it before I teach. Hope this sounds well.😂😊
Can't read your screen
Awww! sorry my friend @mohammedhameedkhan3013 , which part can't you read? is the text too small for you?
Get the source code and follow the video along. github.com/Netcode-Hub/DemoBlazorCRUDOperationsWithDotNet8
I love your content. But I must point out that the way you are naming your directories and interfaces is very confusing. Usually, you have an interfaces folder and a repository folder. You are naming your interface IProductRepository - this is not a repo, its an interface and should be named IProduct !! The way you have named things is just way too confusing!!
Noted! Sorry about that.
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true
can you help me?
Aaaaaww sorry 😞
You can get this error when your token expires
Try to login again
what does it mean to login
i have same error i dont know how to fix that