title: How to redirect root to swagger in Asp.Net Core 2.x?
body: <p>I'm building Asp.Net Core 2.x web api integrated with Swagger. To access the swagger, I had to append /swagger to the url, eg. <a href="https://mywebapi.azurewebsites.net/swagger/" rel="noreferrer">https://mywebapi.azurewebsites.net/swagger/</a></p>
  
  <p>How can I redirect <a href="https://mywebapi.azurewebsites.net/" rel="noreferrer">https://mywebapi.azurewebsites.net/</a> to <a href="https://mywebapi.azurewebsites.net/swagger/" rel="noreferrer">https://mywebapi.azurewebsites.net/swagger/</a> ?</p>