Recently, I created new ASP.NET 5 Web API project. It will call other third part RESTfull Web API with token.
So that I need to maintain the token for each fixed time(I plan to use the Timer to update the token ).
But where to configure the Timer and maintain the token after the application starts up? It should not be set in Startup.cs since it only has the configuration stuff..
It can be able to update token after all configuration is already done.
Do you have any good idea?