1

I have used json to get better performance for my data result of any search in textbox. I want include Push notification feature ,to show instant update It may be from any browser or any other IP. It takes notification from server and show instant update without reloading the web page.

2 Answers 2

6

You can poll data from server with an interval or you might use some async methods like

node.js or signalR. Mr Hanselman has some great posts about them.

http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx

http://www.hanselman.com/blog/InstallingAndRunningNodejsApplicationsWithinIISOnWindowsAreYouMad.aspx

https://github.com/SignalR/SignalR

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for valuable time and feedback
0

You have to pull in intervals your server for new data.

Setup a timer with the setinterval function and call a server function via ajax to look for new data.

1 Comment

This is not good solution - it is a lot of unnecessary communication.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.