title: issue with running dotnet core webapi project
body: <p>created sample project using &quot;dotnet new webapi&quot; command, then removed Properties/launchSettings.json(to understand what happens if this file is not present). On running the project using &quot;dotnet run&quot; command, the project runs, but on accessing the url - https://localhost:5001/swagger/index.html, i get HTTP ERROR 404. But if i run the same project in debug mode(hit f5), i get the swagger page. No change in code or settings was done, while running through &quot;dotnet run&quot; or f5, no error received while &quot;dotnet run&quot;. Not able to understand the following:</p>
  <ul>
  <li>why 2 different behaviors when running the code using above steps</li>
  <li>the reason i removed launchsettings.json was to identify, which other setting forces the use of port 5000/5001 and protocol http/https.</li>
  </ul>
  <p>Thanks in advance</p>