title: Blazor equivalent to @Url.Action or @Html.ActionLink
body: <p>In ASP.NET MVC, whenever you have a controller and an action in it, you could dynamically generate a link to it in a razor page like:</p>
  <pre><code>Url.Action(&quot;ProductController&quot;, &quot;Index&quot;, new { id = &quot;123&quot; })
  </code></pre>
  <p>and this would return a string containing the path to that action with the specified route values:</p>
  <pre><code>/Product/123
  </code></pre>
  <p>Isn't there a similar method in Blazor where you could give it the component's name and route values:</p>
  <pre><code>Url.Component(&quot;ProductPage&quot;, new { id = &quot;123&quot; })
  </code></pre>
  <p>and get the path?</p>
  <pre><code>/Product/123
  </code></pre>