title: Easiest way to be asynchronous (use await) in Startup.cs? web api app
body: <p>I would like an easy way to be async from the start of my web api application (Program.cs and Startup.cs)</p>
  
  <p>Is this just a bad way to do things?  I can't find an easy way.
  I would like to be async all the way, is this not easilsy possible?</p>
  
  <p>In other words, I would like to use "await" in the Startup.cs file.</p>
  
  <p>Startup.cs is part of the default template, so I'm not used to replacing it, but maybe there is another way to do things the "async" way. </p>
  
  <p>The main need here is so I can call into KeyVault (GetSecretAsync) during my Startup.cs logic and avoid deadlocking thread issues.</p>