.NET 8 .🚀🔥: Building a Real-Time Chat App with .NET SignalR and React A Step by Step Tutorial

Поделиться
HTML-код
  • Опубликовано: 30 дек 2023
  • Welcome to our in-depth tutorial where we dive into the exciting world of real-time applications! In this video, we're going to guide you step-by-step through the process of building a cutting-edge real-time chat application using .NET SignalR and React.
    What you'll learn:
    Introduction to Real-Time Web Technologies: Understand the basics of real-time web communication and the role of WebSockets.
    Setting Up the Environment: Walkthrough of setting up your development environment with .NET and Node.js.
    Creating the Backend with .NET SignalR: Learn how to build a robust and scalable backend using the powerful SignalR library in .NET.
    Designing the Frontend with React: Step-by-step guidance on creating a sleek and responsive user interface using React.
    Integrating SignalR with React: Explore how to seamlessly integrate your backend and frontend for real-time data exchange.
    Who is this for?
    This tutorial is perfect for developers who are interested in building real-time applications. Whether you're a beginner in .NET and React or looking to expand your skill set, this video will provide valuable insights and hands-on experience.
    Key Takeaways:
    Build a fully functional real-time chat application.
    Understand the integration of .NET SignalR and React.
    Gain practical knowledge in real-time web communication.
    Support me on Patreon to access the source code:
    / mohamadlawand
    Base App: • .NET 7 💥 - ASP.NET C...
    Let us connect:
    🌍 My website - mohamadlawand.com
    📸 Instagram - / mohamadlawand087
    🐦 Twitter - / moe23
    ♯ Github - github.com/mohamadlawand087
    🎫 LinkedIn - / mlawand
    💥 LinkTree - linktr.ee/mohamadlawand
    Discord - / discord
    Gear I use (affiliate link): amzn.to/3EbT8Jw
    Support my work:
    / mohamadlawand
    www.buymeacoffee.com/mohamadl...
    Hire Me:
    transactions.sendowl.com/prod...
    WHO AM I:
    I'm Mohamad, a Enterprise Architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.
    GET IN TOUCH:
    If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at hello@mohamadlawand.com.
    #dotnet #websocket #react

Комментарии • 39

  • @Evan-fi4lj
    @Evan-fi4lj 4 месяца назад +14

    I don't understand how when you join the chat room at 51:11 the message is displayed in the component. You only call setMessages inside the "ReceiveSpecificMessage" callback you defined in App.js, but we're not calling that yet, so how is the messages state getting updated?
    I had to add a setMessages call in the "JoinSpecificChatroom" callback so that it would add the join message to the messages state, it looks like you're just console logging.

  • @mumk
    @mumk 3 месяца назад

    Tested out with Mvc front end but not React and it worked flawlessly, thanks for the tutorial!

  • @csabagyarmathy6386
    @csabagyarmathy6386 6 месяцев назад

    Once again Muhamad to the rescue, it's like you're reading the assignments I need to do for my uni. You've helped me through all of them, and hopefully future students will also stumble upon your channel! Cheers 🍻

  • @CodeWithMamad
    @CodeWithMamad 3 месяца назад

    Thank you for making this video, despite having a headache. 🙏

  • @LauPlace
    @LauPlace 4 месяца назад +1

    Thanks for the content, really nice example, it's also nice to see the real time errors, to be able to know how to solve them

  • @kek_1459
    @kek_1459 7 месяцев назад

    Thank you very much for your work!

  • @mumk
    @mumk 3 месяца назад

    Do we need to install that Nuget package for SignalR? It seems like its for .NET Framework. SignalR is built in for .NET 8

  • @raymonkv4812
    @raymonkv4812 5 месяцев назад

    Hello dear Mohammad. Thank you for the excellent training. Please deploy this project on iis or any web service that is better so that we can use the software from any device that connects to our computer in the local network. Thanks again for your wonderful tutorial

  • @Evan-fi4lj
    @Evan-fi4lj 4 месяца назад +2

    Also not sure why you're creating an entire table per message. Posting the final code would be helpful so we can see what's going on without having to search back through the video

  • @bartdiako1
    @bartdiako1 3 месяца назад

    Thanks buddy you are awsome!

  • @Jameshiri
    @Jameshiri 6 месяцев назад

    Hi, thankyou for creating this video, i implemented the video. Can you create a video on Notifications? React and .NET Signalr, it would be great.

  • @user-nh1nm7km8x
    @user-nh1nm7km8x 6 месяцев назад

    thank you so much

  • @cfryerdev
    @cfryerdev 4 месяца назад

    Nice work, would be great to post the github repo too.

  • @kritiverma2495
    @kritiverma2495 Месяц назад

    can you please make a video on how to store these messages in the database.

  • @kek_1459
    @kek_1459 6 месяцев назад

    Will it be adding a database to this application?

  • @olimjontajiev1943
    @olimjontajiev1943 Месяц назад

    thank you brother

  • @prashlovessamosa
    @prashlovessamosa 23 дня назад

    Thanks very helpful

  • @DMC3586
    @DMC3586 Месяц назад

    Hey Mohamad. Amazing tutorial. However at 50:54 I didn't understand how you fixed the error.

  • @DrissElMEDAGHRIElALAOUI
    @DrissElMEDAGHRIElALAOUI Месяц назад

    Newly subscribed, Thanks mate.

  • @jos6115
    @jos6115 6 месяцев назад

    Thank you!
    Can I find the code somewhere?

  • @user-ky3su8oi1r
    @user-ky3su8oi1r Месяц назад

    Brilliant, thanks man!

  • @shadmansudipto7287
    @shadmansudipto7287 3 месяца назад +2

    Please provide the code as a repository next time.

  • @kailashbehera4378
    @kailashbehera4378 7 месяцев назад

    Great Tutorials. Can you please make a tutorial on .NET Api with Apache Kafka !

  • @SajadJalilian
    @SajadJalilian 6 месяцев назад

    I really like to know your opinion about HTMX

  • @estonvirtual7671
    @estonvirtual7671 Месяц назад

    cool

  • @jayjorneypua8174
    @jayjorneypua8174 2 месяца назад

    where's the source code??

  • @alim.karim.
    @alim.karim. 6 месяцев назад +1

    Where is the code?

    • @hpn1427
      @hpn1427 4 месяца назад +1

      He didn't provide it...
      Also there are parts of the video where he just cuts it off, or code is behind his camera frame, I guess we need to hope that he will provide the code next time and be careful with video editing. Amazing content tho

  • @mahendranath2504
    @mahendranath2504 7 месяцев назад

    Nice awesome thanks for sharing the amazing content 👍👌🫡👋🤩👏🏻🤝👊🎉, a happy subscriber