SignalR Basics in Asp.Net Core

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • ASP.NET Core SignalR is an open-source library that simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly.
    Source Code
    github.com/Skynet-Demos/SignalR
    00:00 Preview
    00:33 Intro
    02:21 Demo walk through
    Buy me a Coffee!
    www.buymeacoffee.com/skynetechs
    Asp.Net MVC Core
    • Asp .NET MVC Core
    RazorPay Payment Gateway
    • Razorpay
    Sql Server
    • SQL Server
    Xamarin
    • Xamarin
    Follow us on
    / skynetechs
    / skynetfor.net

ความคิดเห็น • 19

  • @inxaneofficial7756
    @inxaneofficial7756 4 หลายเดือนก่อน +2

    This is gold

    • @skynetfordotnet
      @skynetfordotnet  4 หลายเดือนก่อน

      Hey, thank you for your lovely response 👍

  • @LordErnie
    @LordErnie 2 ปีที่แล้ว +2

    I have seen many video's and walktroughs, but this is truely, a good tutorial and video for generaly following along and learning about SignalR. My compliments to how you do things. The fact that you always explain what something does is the crown on your video's. Many video's just instruct you to 'do this and it works jada jada jada'. But they never tell you WHY. You do, and that is something that I have been looking for. For a really long time I longed for a video as simple yet clear as this one. You do everything in a way that to me makes it a great video. You explain the architecture and reason behind something (signalR in this case). Then, you give a clear example with some visualisation (the drawing of client and server / hub to client). Then you do the code, but you always explain what it is that you are doing. In this video, you uphold a very fundamental thing that we love within IT. If it's simple keep it simple, and if it's hard make it simple. You have more then earned the like, share and subscribe. Keep on going, youtube needs people like you.

    • @skynetfordotnet
      @skynetfordotnet  2 ปีที่แล้ว +1

      Hey Thomas, really glad that you find my tutorials are helpful for you and you actually understand my way of making tutorials. No words, thanks again and keep checking the channel 😊🙏

  • @DebasmitSamal294
    @DebasmitSamal294 2 ปีที่แล้ว +1

    great job

    • @skynetfordotnet
      @skynetfordotnet  2 ปีที่แล้ว

      Hey thank you for your words! Keep checking the channel, something more interesting is to come!!

  • @brilliantMotjiang
    @brilliantMotjiang 18 วันที่ผ่านมา +1

    This is so super helpful and easy to follow thank you, how do we save these messages to the database?

    • @skynetfordotnet
      @skynetfordotnet  14 วันที่ผ่านมา

      Hey, thanks for your words. And, you can easily save the messages by calling repository in the required Hub Methods in ChatHub class. If you need more help, please let me know.

  • @bioanu
    @bioanu 2 ปีที่แล้ว +1

    Thank you very much for your tutorial! I like to use SignalR exclusively in a local small LAN network which do not have internet connection and contains maximum 10 PCs. I like to use a software remote which is installed on the "server", and execute remote commands from the clients based on the "server" software APIs. What is the starting point for this?

    • @skynetfordotnet
      @skynetfordotnet  2 ปีที่แล้ว

      Hey Bioan, thanks for your comments. Can you write to skynetechs@gmail.com with your requirement in more detail please?

  • @chadgregory9037
    @chadgregory9037 2 ปีที่แล้ว +1

    do you have to add SignalR to your project the way you did, or can you use nuget to add it?

    • @skynetfordotnet
      @skynetfordotnet  2 ปีที่แล้ว

      You have to add client side library as i shown in the tutorial.

    • @skynetfordotnet
      @skynetfordotnet  2 ปีที่แล้ว

      You have to add client side library as i shown in the tutorial.

  • @chadgregory9037
    @chadgregory9037 2 ปีที่แล้ว

    I still have to go thru things obviously, but basically it seems that I would add signalR functionality within say, a message controller thats connected to SQL, such that whenever a message is saved to the DB then the "push" functionality from signalr is used... does that sound anywhere close to right?
    I'm basically in that "thinking thru and planning" phase and I really wanna get back to building lol. I'm pretty sure but not 100% sure, that I could build out my blog app (that includes multi person chats) without signalr, and then add the push functionality in afterwards. to say, have the message controller call the chathub function to push message or push notification or push new blog entry or whatever

    • @chadgregory9037
      @chadgregory9037 2 ปีที่แล้ว

      so like, I could have a /hubs folder, and then say, have { blog hub , chat hub , notification hub , comment hub, likes hub , blog comment subscriber hub , author subscriber hub}, and within each of those hubs, have functionality for say, when a new blog is added, push it, or say when a blog is deleted pull it, or whatever other push actions need rendered immediately on client side, and then I basically will call those hub functions from my model controllers?

    • @skynetfordotnet
      @skynetfordotnet  2 ปีที่แล้ว

      Hello Chad Gregory, thanks for your writings. Yes, you can obviously use the hub controller as per your requirement, there is no doubt in that. If you need any help, please let me know, I'm here for you!!
      Keep learning more!!

  • @user-lg4jd3ij3y
    @user-lg4jd3ij3y 2 ปีที่แล้ว +1

    Thank you very much great job Can you use it with a database?

    • @skynetfordotnet
      @skynetfordotnet  2 ปีที่แล้ว +1

      Hey thanks man! Yeah we can use with database as well. I'll make another video on that. Keep checking my channel!!

    • @skynetfordotnet
      @skynetfordotnet  2 ปีที่แล้ว

      Hey, there is a video out in this channel on what you asked last time (Signal R with Database)). Please go and check this th-cam.com/video/3SJrag0UiTY/w-d-xo.html