title: dotnet run command asp.net dll - call specific api
body: <p>I have an ASP.NET Core Web Api, with some Web API controllers.<br>
  I want to call one of the Web APIs right after the server starts run. <br>
  Something like:
  <br>
  <br>
  <code>dotnet run myserver.dll -run_this_Web_api_after_start.</code>
  <br>
  <br>
  The real usecase is when server runs in Docker. <br>
  the ENTRYPOINT is [&quot;dotnet&quot;, &quot;MyServerName.dll&quot;] <br>
  But I need to run automatically some Web API when it starts. <br>
  Any idea?</p>