Realtime with Angular, .NET Core & SignalR

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

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

  • @hassanOnYoutube
    @hassanOnYoutube 27 дней назад

    Awesome, Sending you love from Pakistan

  • @eduardofernandezdiaz5264
    @eduardofernandezdiaz5264 5 лет назад

    Best websocket tutorial for angular and asp.net core on RUclips. Thanks for sharing

  • @ІгорКулієв
    @ІгорКулієв 6 лет назад +1

    Thanks Thiago! The video was very helpful for me.The most actual among what I found.

  • @hieuvu4955
    @hieuvu4955 4 года назад

    Thanks for sharing. It helped me a lot

  • @zacharynichols9246
    @zacharynichols9246 5 лет назад +1

    Great introduction, thank you!

  • @mohammadatiourislam5129
    @mohammadatiourislam5129 6 лет назад

    Thank you Thiago, you save my time.

  • @jyotirmayapati642
    @jyotirmayapati642 4 года назад +2

    Hey thiago,thanks for you guidance,
    But one thing how it works along with data base SQL server, means while I entered any record in db then it show in front end

    • @ThiagoSPassos
      @ThiagoSPassos  4 года назад +1

      Hi Jyotirmaya, that's a great question. It really depends on how you're managing the data coming into the database. There's a really cool video from a friend of mine, Brendan Richards, covering how multiple people are managing records, even the same record, and how other users will see the updates. Check it out: ruclips.net/video/jE65d8b3w_M/видео.html

    • @jyotirmayapati642
      @jyotirmayapati642 4 года назад +1

      @@ThiagoSPassos thanks alot 👍👍

  • @isaduvan9454
    @isaduvan9454 4 года назад

    Great.Thanks !

  • @jsiahaan
    @jsiahaan 6 лет назад +2

    I have success to migrate this source into Angular 6 and Microsoft.AspNetCore.SignalR version 1.0. Thank you very much it was very helpful.
    But in Edge, button does not work, (Start button, "here" to restart, all the bottom button) and also in Mozilla not work at all. I can not figure what is going wrong. It's ok on Chrome. Any idea?

    • @ThiagoSPassos
      @ThiagoSPassos  6 лет назад

      Thanks for sharing, Jannen. It's hard to tell what's going on. Is there any error coming in the console?

    • @jsiahaan
      @jsiahaan 6 лет назад

      Nope, no error at the console

    • @JacsInterTec
      @JacsInterTec 6 лет назад +1

      These are items I changed:
      ///public _hubConnection: HubConnection; /// NEN Change with:
      _hubConnection = new HubConnectionBuilder()
      .withUrl('/drinking')
      .build();
      constructor() { }
      ngOnInit() {
      //this._hubConnection = new HubConnection('/drinking'); /// NEN
      this._hubConnection.on('Group', (data: any) => {
      this.group = data;
      if (data.glasses.length == 1) this.isOwner = true; /// NEN
      });
      this._hubConnection.start()
      .then(() => {
      console.log('Hub connection started')
      })
      .catch(err => {
      console.log('Error while establishing connection')
      });
      console.log(this._hubConnection);
      }
      .html

      Start
      .css:
      .main-button {
      /*position: fixed;*/
      bottom: 0;
      left: 0;
      right: 0;
      font-size: 40px;
      z-index: 1000;
      }

    • @JacsInterTec
      @JacsInterTec 6 лет назад

      Now it has been worked on Edge, but on Mozilla, still does not work.

  • @dpkbahugunaTube
    @dpkbahugunaTube 2 года назад

    Hi Thiago...i hv tried by getting something like this.."WebSocket connection to 'ws://localhost:5000/sockjs-node/786/2u4wp3hv/websocket' failed: WebSocket is closed before the connection is established.
    "