Blazor Tutorial - Creating a Todo App using Blazor Server

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 15. 06. 2024
  • In this video, we will implement a simple to-do list as a Blazor Server application.
    We will implement the following features:
    - Show a list of todo items
    - Add a todo item to the list
    - Remove a todo item from the list
    - Mark a todo item as completed
    - Mark a todo item as uncompleted
    00:00 The Todo App We Are Building
    00:45 Blazor Server Introduction
    01:27 Blazor Server Project Setup
    03:10 Implementing the Blazor Server Todo App
    15:17 Source Code & Conclusion
    đŸ”„ C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*
    claudiobernasconi.ch/dotnet-c...
    📌 .NET Developer Roadmap
    claudiobernasconi.ch/learn-do...
    📌 Source Code
    github.com/claudiobernasconi/...
    📌 CZcams Playlists:
    The FREE Blazor Crash Course: ‱ The FREE Blazor Crash ...
    Blazor: ‱ Blazor
    ✅ SUBSCRIBE FOR MORE VIDEOS
    Subscribe: 🔔 claudiobernasconi.ch/Subscribe
    🚀 CONNECT & SUPPORT
    Twitter: / chbernasconic
    Blog: claudiobernasconi.ch
    Newsletter: claudiobernasconi.ch/newsletter
    CREDITS
    đŸŽ” www.bensound.com/
    * Affiliate Link: I earn a small commission at no additional cost
  • Věda a technologie

Komentáƙe • 22

  • @ClaudioBernasconi
    @ClaudioBernasconi  Pƙed 10 měsĂ­ci +3

    What's holding you back from using Blazor for your next project? 😉

    • @samuelnettey
      @samuelnettey Pƙed 8 měsĂ­ci

      Nothing. Working on my current startup with Blazor. To be precise, MAUI Blazor

  • @izzicadensa7927
    @izzicadensa7927 Pƙed 7 měsĂ­ci

    loving this tutorial! this has helped me a lot when trying to figure out how blazor works thank you so much!

  • @dsfgato
    @dsfgato Pƙed 10 měsĂ­ci +3

    great content.. i'm gonna give it a try

    • @ClaudioBernasconi
      @ClaudioBernasconi  Pƙed 10 měsĂ­ci

      Love it! Hope you'll also have a great experience. 😎

  • @10Totti
    @10Totti Pƙed 10 měsĂ­ci +2

    Thanks for video!

  • @adinwashere
    @adinwashere Pƙed 10 měsĂ­ci +1

    Hi, thanks for the tutorial. Do you know if when creating a hybrid MAUI Blazor app, if it is Blazor Server or Blazor WebAssembly?

    • @ClaudioBernasconi
      @ClaudioBernasconi  Pƙed 10 měsĂ­ci +2

      I have doubled check it with a developer from the .NET MAUI team. It's neither. When using MAUI the .NET runtime is already on those devices. A hybrid MAUI app compiles to native code. There is no such thing as Blazor Server or Blazor WebAssembly at runtime. I hope that answers your question.

    • @adinwashere
      @adinwashere Pƙed 10 měsĂ­ci +1

      @@ClaudioBernasconi Okay. Thanks for checking!

  • @Kennerdoll
    @Kennerdoll Pƙed 9 měsĂ­ci

    4:27 at line 10 for TodoItem am getting "CS0246 The type or namespace name 'type/namespace' could not be found (are you missing a using directive or an assembly reference?)"

    • @ClaudioBernasconi
      @ClaudioBernasconi  Pƙed 9 měsĂ­ci

      A few seconds later, I define the missing ItemClass method to the code section of the component. It will resolve that compiler error.

  • @OeHomestead
    @OeHomestead Pƙed 2 měsĂ­ci

    I believe VS 2022 can scaffold all of this quite easily now-a-days.

  • @musiclover6092
    @musiclover6092 Pƙed 6 měsĂ­ci

    I have one scenario
    When I submit the form I am getting data in Model="taskInfo" this is an instance of my class
    I want list of this taskInfo without submitting the form
    Because if I submit the form then I get only Single object

    • @ClaudioBernasconi
      @ClaudioBernasconi  Pƙed 6 měsĂ­ci

      Thanks for your comment. It's hard to tell via CZcams comments. You have the highest chance to get feedback on your code when you create a StackOverflow question and attach the source code. If you want to maximize your changes to get help, I suggest creating a public repo on GitHub and the community will help. Feel free to tag me on Twitter with a link to your StackOverflow question.

  • @rohinirohini532
    @rohinirohini532 Pƙed 6 měsĂ­ci

    Hi, will you please upload a video on crud operations using blazor server app

  • @CarlKidwell
    @CarlKidwell Pƙed 2 měsĂ­ci

    Nice short tutorial unfortunately .NET 8 with this is completely broken ; any chance at a .NET 8 version of the same content?

    • @ClaudioBernasconi
      @ClaudioBernasconi  Pƙed 2 měsĂ­ci

      Thanks for your feedback. You can still create Blazor Server applications using the new Blazor Web App project template when you select interactivity type server and use the global option instead of per component. Do you face any particular issues? I'd love to create a new video if there are points I know others struggle with.