asp.net mvc 4 - MVC Push notification from server to client side -
this question may sound lame but.
is there technique send push notificaiton server client side, regarding server status.
for example: while login
notification in client side in sequence:
validating user ... validating digital certificate ... sorting downloadable file ... preparing download ...
if not possible, there alternative elegant way achieve this.
thanks
you can use signalr
:
$.connection.hub.start().done(function () { $('#sendmessage').click(function () { // call send method on hub. chat.server.send($('#displayname').val(), $('#message').val()); // clear text box , reset focus next comment. $('#message').val('').focus(); }); });
use more info: tutorial
Comments
Post a Comment