Create Your Own Chat App: SignalR Mastery in C# & ASP.NET

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024
  • #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!

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

  • @rowan-lea
    @rowan-lea Год назад +5

    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!

  • @MrBenix181
    @MrBenix181 Год назад +5

    Every key line of code is well explained in plain english and not technical. Great tutorial.

  • @cyrildouglas9262
    @cyrildouglas9262 Год назад +1

    I would like to see more of signalR, maybe for dashboards with ChartJs? it would be great if you cover something like this.

    • @nickproudprogrammer
      @nickproudprogrammer  Год назад +1

      I'm actually planning on doing a video on using ChartJs in Blazor

  • @niezebenmansour3736
    @niezebenmansour3736 Год назад

    You have have a great channel, thnak you for this content!

  • @dlawreal1666
    @dlawreal1666 Год назад +1

    Nice one there. Please do you have a video on how i can create rest api project using MVC Razor views

  • @bjarnenilsson80
    @bjarnenilsson80 Год назад +1

    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

  • @khanfaizan05
    @khanfaizan05 8 месяцев назад

    Nice content .. great explanation..
    Thanks Nick ❤

  • @noorieg3598
    @noorieg3598 Год назад +2

    Hi Nick!, where do I get the documentation for this? Or is the source code on github?

  • @sweetamishbutter7
    @sweetamishbutter7 11 месяцев назад +9

    Where is the source code??

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

      You have to pay for it, just 1U$ for a coffee
      after two months you enroll in my course for 99U$ year no refunds.

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

      Did you find the source code

  • @alfredoeleazarorozcoquesad2988
    @alfredoeleazarorozcoquesad2988 8 месяцев назад

    Thank you so much! Súper concrete and practical.

    • @nickproudprogrammer
      @nickproudprogrammer  8 месяцев назад

      I'm glad you found the video helpful! It's always great to hear that the content is practical and useful.

  • @kuntal2938
    @kuntal2938 6 месяцев назад +1

    As you have mentioned, link for the code is not found.

  • @caseyspaulding
    @caseyspaulding Год назад +1

    👏💯🙌

  • @temmytory4309
    @temmytory4309 Год назад +1

    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?

    • @nickproudprogrammer
      @nickproudprogrammer  Год назад

      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

  • @vladmaiorov1072
    @vladmaiorov1072 5 месяцев назад +2

    js files do not apper in root/js directory

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

      That's also my problem.

    • @ptronicmusic
      @ptronicmusic 3 месяца назад +1

      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

    • @ptronicmusic
      @ptronicmusic 3 месяца назад +1

      This also means that in Index.cshtml you have to change the signalr include or it wont work. I used:

  • @Brlitzkreig
    @Brlitzkreig 7 месяцев назад +1

    Would have been good to just show us your exact setup in vs code not have it already setup. Otherwise pretty solid content

  • @user-st1gj3si7x
    @user-st1gj3si7x 4 месяца назад

    nice

  • @Brlitzkreig
    @Brlitzkreig 7 месяцев назад +3

    Should have included the source code

  • @ziaullahhassan3162
    @ziaullahhassan3162 8 месяцев назад +2

    great video. I need the source code

  • @SoftwaretestingbyPrasad
    @SoftwaretestingbyPrasad Год назад +3

    please provied source code

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

    Why cant i see my Program.cs FIle???
    PLEASE HELP, its ergent

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

    Hub seems to be an interface