Reputation: 1526
This question may sound lame but.
Is there any technique to send push notificaiton from server to client side, regarding the server status.
For Example: While Login
Notification in Client Side in sequence:
Validating User ...
Validating Digital Certificate ...
Sorting downloadable file ...
Preparing to download ...
If its not possible, then is there any alternative elegant way to achieve this.
Thanks
Upvotes: 2
Views: 4292
Reputation: 4031
you can use signalR here i am providing link have a look on it.
Upvotes: 1
Reputation: 3299
You can use SignalR
:
$.connection.hub.start().done(function () {
$('#sendmessage').click(function () {
// Call the Send method on the hub.
chat.server.send($('#displayname').val(), $('#message').val());
// Clear text box and reset focus for next comment.
$('#message').val('').focus();
});
});
use more info: tutorial
Upvotes: 1