title: How do I run/trigger service in startup.cs?
body: <p>I have a service which grabs the token and save in cache, I added service like below, but it's not running when the app starts what do I need to do to trigger this service on startup</p>
  
  <pre><code>public void ConfigureServices(IServiceCollection services)
   {
     services.AddScoped&lt;ITokenService,TokenService&gt;();
  }
  </code></pre>