Answer the question
In order to leave comments, you need to log in
How to add data on a timer without refreshing the page?
Good evening. I've been trying to solve this problem for several days now: it is necessary to display the data received via api on the page every 10 minutes without updating it.
I tried many ways, I can't list them. But still, these are ready-made solutions that I tried
Answer the question
In order to leave comments, you need to log in
Anyway, you have to use JS.
In order to receive data without refreshing the page, I advise you to look at SignalR.
If the backend receives the data, then you shove the received data into SignalR and display it on the page.
If the frontend itself can request data from the API, then use setTimeout in JS
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question