-1

I have a webapp on azure, its developed in using ASP.net, JavaScript and Html. Whenever i update my server in background, I expect anybody who is using or the page is already opened, they should see the new content without need to refresh their page. is it possible ?

shyam_
  • 2,370
  • 1
  • 27
  • 50

1 Answers1

0

AJAX allows easier and quicker interaction between user and website as pages are not reloaded for content to be displayed. We can call ajax function via setInterval.

setInterval(ajaxCall, 60000); //60000= 1min

function ajaxCall() {
    //do get request and update new content to page
}

If that still could not meet your requirement, please try the method that Developer provide. Here is the document for you to get started with signalr.

Jambor - MSFT
  • 3,175
  • 1
  • 13
  • 16