Perform CRUD operations with .NET 8 Blazor Interactive Auto render mode with SqlServer.

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 80

  • @alexowusu5781
    @alexowusu5781 9 місяців тому +2

    My Country man, God richly bless you.For the 3th time, I have been able to complete the project.Many Thanks

  • @bocarmg3832
    @bocarmg3832 11 місяців тому +3

    The Most CLEAR tutorial, explaination video for blazor .NET 8 i have seen , thank you SO MUCH

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому +2

      Then check the playlist because I have bunch of goodies for you 😂
      Thanks you like it

    • @bocarmg3832
      @bocarmg3832 11 місяців тому

      @@Netcode-Hub I will definitely check it thanks again 🙏🏼

  • @ajazahmad2386
    @ajazahmad2386 Рік тому +4

    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.

  • @roysheppard-dev
    @roysheppard-dev 8 місяців тому

    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.

  • @ricardothomas3779
    @ricardothomas3779 Рік тому +7

    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.

    • @Netcode-Hub
      @Netcode-Hub  Рік тому +2

      Yes I will🥰 . Thanks for showing interest

    • @ricardothomas3779
      @ricardothomas3779 Рік тому +1

      ​@@Netcode-Hubthank you Frederick.
      I/we appreciate it ❤

  • @Rafian1924
    @Rafian1924 10 місяців тому +3

    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 ❤❤

    • @Netcode-Hub
      @Netcode-Hub  10 місяців тому +1

      Will start new playlist lessons for beginners with .NET 8 soon so watch out

  • @MihaiMoisei
    @MihaiMoisei Рік тому +4

    It would be interesting to add IdentityDbContext and Swagger to create a MAUI Blazor project and extract the Components in a Razor Class Library

  • @pauldessoy5369
    @pauldessoy5369 10 місяців тому +1

    Excellent tutorial, many thanks for putting this together.

    • @Netcode-Hub
      @Netcode-Hub  10 місяців тому +1

      Welcome 🤗
      I am glad you like 👍 it

  • @saroasahamed
    @saroasahamed 8 місяців тому +1

    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?

    • @Netcode-Hub
      @Netcode-Hub  8 місяців тому

      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 😊

    • @martinb.r2180
      @martinb.r2180 4 місяці тому

      The same thing happened to me, were you able to solve it?

  • @mesutdemirci7933
    @mesutdemirci7933 10 місяців тому +1

    Excellent tutorial, many thanks

    • @Netcode-Hub
      @Netcode-Hub  10 місяців тому +2

      The pleasure is all mine 😂

  • @MrFEMGM
    @MrFEMGM 9 місяців тому +1

    A very useful video for me. Thank you.

  • @lukevincent4397
    @lukevincent4397 3 місяці тому

    Absolutely stunning video tutorial !!!! Thank you!

  • @guillermomazzari8320
    @guillermomazzari8320 10 місяців тому +1

    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

    • @Netcode-Hub
      @Netcode-Hub  9 місяців тому +2

      Aaawww sorry 😢 will have a video on that for you ,”.

    • @guillermomazzari8320
      @guillermomazzari8320 9 місяців тому +1

      Thanks bro, very kind of you!
      @@Netcode-Hub

  • @ahmetturkoz9954
    @ahmetturkoz9954 11 місяців тому

    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?

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому

      Thanks for your comment. Can you explain your question ? It seems I am not getting you well ☺️

  • @TosoAlejandro
    @TosoAlejandro 11 місяців тому +1

    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.

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому

      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 😅

    • @TosoAlejandro
      @TosoAlejandro 11 місяців тому +1

      @@Netcode-Hub Thank you very much, very kind

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому

      @@TosoAlejandro welcome sir 🫡 😂

  • @shabanelmogy7912
    @shabanelmogy7912 Рік тому +3

    thanks great job

  • @dhirenpathak
    @dhirenpathak Рік тому +2

    Thanks and nice tutorials

  • @roysheppard-dev
    @roysheppard-dev 7 місяців тому

    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.

    • @Netcode-Hub
      @Netcode-Hub  7 місяців тому

      Exactly, you can do that 😃

  • @FabianoNalin
    @FabianoNalin 2 місяці тому

    Awesome.
    Thanks

  • @JochelleMabasa
    @JochelleMabasa 9 місяців тому

    Can you make a video on how to migrate .net 6 projoect to .net 8 please huhu

  • @allenzhang7407
    @allenzhang7407 11 місяців тому

    15:47 why I don't have such popup dropdown menu? Did you install anything?

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому

      DbContext comes from EFCore
      So install it
      EFCore
      EFCore.Sqlserver
      EFCore.Tools

  • @birolaydin4731
    @birolaydin4731 Рік тому +1

    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???

    • @Netcode-Hub
      @Netcode-Hub  Рік тому +1

      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

  • @RogueCoder7505
    @RogueCoder7505 11 місяців тому +1

    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?

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому +1

      Register it in both client and server

  • @EmpoweredWithLove
    @EmpoweredWithLove 5 місяців тому

    how much do you make from ads on this video? im about 1 hour in and it have been easy 50+ ads :D

    • @Netcode-Hub
      @Netcode-Hub  5 місяців тому

      😂Ads are controlled my google

  • @panda3131
    @panda3131 4 місяці тому

    how to manually refresh data with button?

    • @Netcode-Hub
      @Netcode-Hub  4 місяці тому

      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.

  • @shabanelmogy7912
    @shabanelmogy7912 Рік тому

    i want example for connect to attendance machine zk teco and get finger prints

    • @Netcode-Hub
      @Netcode-Hub  Рік тому +1

      Sorry for late reply, Alright, will make research on that.

  • @pradm777
    @pradm777 11 місяців тому +1

    If we are using both render mode how to handle local storage

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому +1

      Use Blazored.LocalStorage package by Chris Sainty and you are good to go

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому +1

      Surround your code with try catch block, coz server mode does not support local storage unless after render

    • @pradm777
      @pradm777 11 місяців тому +1

      @@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

  • @Userabcdedfgh
    @Userabcdedfgh 10 місяців тому

    RenderModeInactiveAuto getting error which package used for this?

    • @Netcode-Hub
      @Netcode-Hub  9 місяців тому

      The same VS with .Net 8 framework. Maybe you have discard the old project and create new one ☝️

  • @daliangilbert
    @daliangilbert 11 місяців тому

    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?

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому

      .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.😂😊

  • @mhk11581
    @mhk11581 10 місяців тому +1

    Can't read your screen

    • @Netcode-Hub
      @Netcode-Hub  10 місяців тому +1

      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

  • @Duelweb
    @Duelweb 11 місяців тому +1

    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!!

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому

      Noted! Sorry about that.

  • @EltonNakamura
    @EltonNakamura 11 місяців тому +1

    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?

    • @Netcode-Hub
      @Netcode-Hub  11 місяців тому +2

      Aaaaaww sorry 😞
      You can get this error when your token expires
      Try to login again

    • @muhanifrafiahmadi1146
      @muhanifrafiahmadi1146 26 днів тому

      what does it mean to login
      i have same error i dont know how to fix that