.NET 8 .🚀🔥: Building a Real-Time Chat App with .NET SignalR and React A Step by Step Tutorial
Вставка
- Опубліковано 5 вер 2024
- 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/moh...
🎫 LinkedIn - / mlawand
💥 LinkTree - linktr.ee/moha...
Discord - / discord
Gear I use (affiliate link): amzn.to/3EbT8Jw
Support my work:
/ mohamadlawand
www.buymeacoff...
Hire Me:
transactions.s...
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
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.
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
Tested out with Mvc front end but not React and it worked flawlessly, thanks for the tutorial!
i want to build this using mvc how can i ?
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
Thank you for making this video, despite having a headache. 🙏
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 🍻
newly subscribed and as it seems from the content a new fan!Great work!
Hey Great work i just wanted to know what extension are you using to be able to tell if it is a method or arg1 or arg2 at 18:34
Newly subscribed, Thanks mate.
Awesome, thank you!
Thanks very helpful
Hey Mohamad. Amazing tutorial. However at 50:54 I didn't understand how you fixed the error.
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
Nice work, would be great to post the github repo too.
Brilliant, thanks man!
No problem!
thank you brother
Thanks buddy you are awsome!
Please provide the code as a repository next time.
thank you
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.
Do we need to install that Nuget package for SignalR? It seems like its for .NET Framework. SignalR is built in for .NET 8
can you please make a video on how to store these messages in the database.
Great Tutorials. Can you please make a tutorial on .NET Api with Apache Kafka !
It’s in the works ☺️
Thank you very much for your work!
cool
thank you so much
Thank you!
Can I find the code somewhere?
Will it be adding a database to this application?
I really like to know your opinion about HTMX
Where is the code?
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
where's the source code??
Nice awesome thanks for sharing the amazing content 👍👌🫡👋🤩👏🏻🤝👊🎉, a happy subscriber