Is the BackgroundTasks example working properly? The images don’t change until refresh, and the messages don’t appear until the browser loses focus.
I’ve tested it in several browsers including IE, Chrome, and Firefox.
Setting enableWebSocket to true fixed the problem.
we just noticed that websockets are disabled in the demo download (probably due to some tests we did).
We´ll update the sample.
Can you please retry after setting
enableWebSocket to true in default.json ?
I thought (just for fun) I’d update the background tasks example for Jim but even though the buttons and the notification are now working the canvas element is not updated.
Even though my timer is only ticking every 100ms I would still expect to see an update every now and then but nothing happens.
Is there something else required for canvas?
It may not work if your server doesn’t support WebSocket. You need either Windows 8 or Server 2012 minimum. Otherwise it’s only http and the task cannot update the client. In that case you’d need to add timer.