I have a polling service that makes continuous http requests to Microsoft Graph APIs(/me/events), every 1 minute.
The application is made like a dotnet core web app and hosted on Azure. I have also mapped application insights to it for logging.
However, at times the timer abruptly stops giving me no exception.
I am using System.Timers class to keep a non-static infinite timer.
Kindly suggest a better/best way to implement this in dotnet as I am new to the language and still learning.
Thank you for taking out time to answer this.
Regards, Aarushi