10K35H 5H4KY4
10K35H 5H4KY4

Reputation: 1526

MVC Push notification from server to client side

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

Answers (2)

Saineshwar Bageri - MVP
Saineshwar Bageri - MVP

Reputation: 4031

you can use signalR here i am providing link have a look on it.

http://www.asp.net/signalr

Upvotes: 1

Siamak Ferdos
Siamak Ferdos

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

Related Questions