title: ASP.NET Core 3.1+ Endpoint routing priorities
body: <p>I have something like this:</p>
  <pre><code>endpoints.MapDefaultControllerRoute();
  endpoints.MapDynamicControllerRoute&lt;SeoTransformer&gt;(&quot;{**path}&quot;);
  </code></pre>
  <p>MapDynamicControllerRoute being called first in all cases. How to change it?</p>
  <ol>
  <li>Check existing default routes</li>
  <li>If not found --&gt;  MapDynamicControllerRoute(&quot;{**path}&quot;)</li>
  </ol>