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
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
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?
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. "
Awesome, Sending you love from Pakistan
Best websocket tutorial for angular and asp.net core on RUclips. Thanks for sharing
Thank you, Eduardo
Thanks Thiago! The video was very helpful for me.The most actual among what I found.
Ігор Кулієв thanks, mate
Thanks for sharing. It helped me a lot
Great introduction, thank you!
Thank you Thiago, you save my time.
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
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
@@ThiagoSPassos thanks alot 👍👍
Great.Thanks !
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?
Thanks for sharing, Jannen. It's hard to tell what's going on. Is there any error coming in the console?
Nope, no error at the console
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;
}
Now it has been worked on Edge, but on Mozilla, still does not work.
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.
"