title: C# RealTime track of logged time in app and send alert back to user
body: <p>I need to build a Web Application using <code>C# ASPMVC</code> that keep track of the logged time and other actions that the user do in the application and send back an alert to client using <code>SignalR</code>.</p>
  <p>My question is on the server side. For example:</p>
  <p>User A login into the application. In that moment the application have to start tracking the time that the user has been connected. Exactly after 10 minutes the server will send some message to the user client (using <code>SignalR</code>).</p>
  <p>At the same time while the user is connected, he might click on a specific button that the server must need to track the <code>TimeStamp</code> when the user clicked the button and start counting realtime server side the time elapsed. When this time elapsed reach 90 seconds I have to send a message back to client.</p>
  <p>We can have for example 50 users and server side have to be watching all this timers and send the messages to every user.</p>
  <p>How can this be solved server side, how to keep this times elapsed by user and trigger server side the events when the specific time rules are reached?</p>