title: How to have a default /api route?
body: <p>I am using the latest Asp.Net Core 3 template in Visual Studio.</p>
  
  <p>There is the default <code>HomeController</code>, which is mapped via <code>/Home</code>, and also its <code>Index</code> action is reached via <code>/</code>.</p>
  
  <p>I added two Api controllers: <code>DefaultController</code> and <code>MController</code>, child class of <code>ControllerBase</code>. These are mapped via <code>/api/default</code> and <code>/api/m</code> automatically. I can't find where the routing is configured.</p>
  
  <p>What must I do to achieve the following routes:</p>
  
  <pre><code>/      -&gt; /HomeController/Index (no change)
  /home  -&gt; /HomeController (no change)
  /api   -&gt; /api/default
  /api/m -&gt; /api/m (no change)
  </code></pre>