title: Net Core MVC change URL routing parameter to be a # fragment
body: <p>I want my final route parameter to turn into a URL fragment once the page has loaded.</p>
  <p>So if I submit a URL like:</p>
  <pre><code>https://mysite/controller/param1/param2
  </code></pre>
  <p>And it hits my controller method via the route I've set up</p>
  <pre><code>public ActionResult Index(string param1, string param2) 
  </code></pre>
  <p>How can I somehow re-route this so that the resulting loaded page shows as</p>
  <pre><code>https://mysite/controller/param1#param2
  </code></pre>