title: Set redirect as permanent status (301) with MapControllerRoute .Net Core
body: <p>I'm having trouble trying to set my redirect as 301 (permanent redirect). Currently, it's showing as 307 (temp status). Code below:</p>
  <pre><code>routes.MapControllerRoute(&quot;Redirect&quot;, 
         &quot;redirect/{*path=/Test}&quot;, new { controller = &quot;Redirect&quot;, action = &quot;Index&quot; });
  </code></pre>
  <p>This is using .Net Core Version 3.0.1. Thanks in advance for any suggestions!</p>