SignalR – Checking if a user is still connected

I have a hub with method that is called client-side. This method launches a timer with a delegate that runs every 10 seconds. Since it wouldn’t make sense to keep running this delegate if no one is connected to the hub, I want to check if any users are still connected from inside the delegate before I reschedule it. Is there any way to do this?

Timer to throw Method Once a Week – C#, Asp.NET

I’m fairly new to C# and coding in general. I’m looking for an example/open source Timer Function that will be used to throw a basic method (ex. Email Notifications) once a week at a certain time. After doing some research I’ve found that using a Timer instead of a Windows Service would be wise as it will have a very small workload.