Create Your Own Chat App: SignalR Mastery in C# & ASP.NET
Vložit
- čas přidán 26. 04. 2023
- #dotnet #csharp #tutorial #softwaredevelopment #signalR #aspdotnetcore #programming #softwareengineer #softwareengineering #softwareengineeringtutorials
Updating a UI from new data in a SQL or NoSQL database is costly in terms of performance. What if when data came into your API or was typed into a web form, it immediately updated another microservice or app? Remote procedure calls are the answer, and my favourite technology for RPC is SignalR.
In this video I show you how to add SignalR to an ASP.NET Core Web App, and then quickly and easily build a simple chat room that sends messages in real time! - Věda a technologie
Really love this deep dive into exactly how SignalR works, it captures every element you want to think about and explains the process around it, would definitely recommend this to anyone wanting to learn SignalR, or WebSockets in general!
Hey thanks Rowan that's great to hear!
Every key line of code is well explained in plain english and not technical. Great tutorial.
Great! Thanks so much I'm glad it was useful
You have have a great channel, thnak you for this content!
Thank you so much!
Thank you so much! Súper concrete and practical.
I'm glad you found the video helpful! It's always great to hear that the content is practical and useful.
Nice content .. great explanation..
Thanks Nick ❤
My pleasure!
👏💯🙌
Nice one there. Please do you have a video on how i can create rest api project using MVC Razor views
I would like to see more of signalR, maybe for dashboards with ChartJs? it would be great if you cover something like this.
I'm actually planning on doing a video on using ChartJs in Blazor
Hi Nick!, where do I get the documentation for this? Or is the source code on github?
As you have mentioned, link for the code is not found.
nice
Yea it's probably a smart idea to let the hub provide the timestamps as you would at least have a consistent source of hat time it is, and to simplify cluent implementation even further use utc so the client only needs to worry about offsey berween utc and whatever rhe user wanr without needing to think about what tz the server is in
Nice I hadn't thought of it that way 👍
Hi nick, Great video.
Quick question:Is there a way to leverage signalR with SQL CDCand general real time datat changes tracking in the database?
I'm not only familiar with SQL CDC, but I gather it can trigger stored procs? You'd have to find a way from there to ping your SignalR hub. Doesn't sound easy
Where is the source code??
You have to pay for it, just 1U$ for a coffee
after two months you enroll in my course for 99U$ year no refunds.
Did you find the source code
Would have been good to just show us your exact setup in vs code not have it already setup. Otherwise pretty solid content
great video. I need the source code
Should have included the source code
js files do not apper in root/js directory
That's also my problem.
I know this is a few months late, but when I followed those steps the signalr.js file was under wwwroot/lib/microsoft/signalr/dist/browser/signalr.js
This also means that in Index.cshtml you have to change the signalr include or it wont work. I used:
please provied source code
Hub seems to be an interface
Why cant i see my Program.cs FIle???
PLEASE HELP, its ergent