title: How implement a timer with .NETCoreApp1.1
body: <p>Before ASP.NET Core, I used to implement timers like that :</p>
  
  <pre><code>public class Class1
  {
      Timer tm = null;
  
      public Class1()
      {
          this.tm.Elapsed += new ElapsedEventHandler(Timer_Elapsed);
          this.tm.AutoReset = true;
          this.tm = new Timer(60000);
      }
  
      protected void Timer_Elapsed(object sender, ElapsedEventArgs e)
      {
           this.tm.Stop();
  
           try
           {
               // My business logic here
           }
           catch (Exception)
           {
               throw;
           }
           finally
           {
               this.tm.Start();
           }
       }
  }
  </code></pre>
  
  <p>I have the same need on a .NETCoreApp1.1 console application and <em>System.Timers</em> doesn't exist anymore with ASP.NET Core. I also try to use <em>System.Threading.Timer</em> but the project doesn't build anymore.</p>
  
  <p>How can I implement a Timer with .NETCoreApp1.1 ? Is there an equivalent of System.Timers ?</p>