title: ASP.NET WebAPI default landing page
body: <p>I've created a RESTful web service using ASP.NET WebApi v2 and I'm using <a href="https://github.com/domaindrivendev/Swashbuckle" rel="noreferrer">Swashbuckle</a> to generate swagger UI for API documentation.</p>
  
  <p>All API calls are under <a href="http://localhost/api/" rel="noreferrer">http://localhost/api/</a> and the swagger UI page is at <a href="http://localhost/browser/index" rel="noreferrer">http://localhost/browser/index</a> (the 'browser' part is configurable). </p>
  
  <p>Browsing to <a href="http://localhost/" rel="noreferrer">http://localhost/</a> however will land on a empty page, so my question is is it possible to route <a href="http://localhost/" rel="noreferrer">http://localhost/</a> to <a href="http://localhost/browser/index" rel="noreferrer">http://localhost/browser/index</a> so the user will be able to see the API documentation just by visiting the base uri.</p>
  
  <p>One solution I can think of is to use a physical file system and create a static html page which does a meta fresh to redirect to the landing page I want, but I guess there must be a better way of doing this…</p>